- in Geometry Editor, in the Simplification Tool made sure that the selected shape is highlighted

- in Geometry Editor, in Rectangle Tool added a modification mode where a selected shape (using the SHIFT + click combo) while the tool is active, can be modified
This commit is contained in:
Marius Stanciu
2022-04-16 11:46:33 +03:00
committed by Marius
parent 1d1226b628
commit 34bb741335
4 changed files with 91 additions and 14 deletions

View File

@@ -101,7 +101,7 @@ class SimplificationTool(AppTool):
selected_shapes_geos.append(obj_shape.geo.simplify(tolerance=tol))
if not selected_shapes:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Failed."))
self.app.inform.emit('%s' % _("Failed."))
return
for shape in selected_shapes:
@@ -115,6 +115,8 @@ class SimplificationTool(AppTool):
last_sel_geo = selected_shapes_geos[-1]
self.calculate_coords_vertex(last_sel_geo)
self.app.inform.emit('%s' % _("Done."))
self.draw_app.plot_all()
self.draw_app.interdict_selection = False
self.draw_app.build_ui_sig.emit()