- wip; Tool Move problem: it tries to select all objects, even those that are disabled.

This commit is contained in:
Marius Stanciu
2019-10-10 13:00:44 +03:00
parent c3a7725a39
commit e6a5e32002
4 changed files with 8 additions and 6 deletions

View File

@@ -263,6 +263,7 @@ class ToolMove(FlatCAMTool):
self.mm = self.app.plotcanvas.graph_event_connect('mouse_move', self.on_move)
self.mp = self.app.plotcanvas.graph_event_connect('mouse_press', self.on_left_click)
self.kr = self.app.plotcanvas.graph_event_connect('key_release', self.on_key_press)
# first get a bounding box to fit all
for obj in obj_list:
xmin, ymin, xmax, ymax = obj.bounds()