- in Geometry Editor, in Copy Tool added the 2D copy-as-array feature therefore finishing this editor plugin upgrade

This commit is contained in:
Marius Stanciu
2022-04-18 01:23:01 +03:00
committed by Marius
parent 3af1b189c5
commit e2770776b7
7 changed files with 341 additions and 91 deletions

View File

@@ -3505,10 +3505,14 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.geo_editor.active_tool.rect_tool.length != 0.0 and \
self.app.geo_editor.active_tool.rect_tool.width != 0.0:
pass
elif self.app.geo_editor.active_tool.name in ['move', 'copy'] and \
elif self.app.geo_editor.active_tool.name == 'move' and \
self.app.geo_editor.active_tool.move_tool.length != 0.0 and \
self.app.geo_editor.active_tool.move_tool.width != 0.0:
pass
elif self.app.geo_editor.active_tool.name == 'copy' and \
self.app.geo_editor.active_tool.copy_tool.length != 0.0 and \
self.app.geo_editor.active_tool.copy_tool.width != 0.0:
pass
else:
self.app.geo_editor.active_tool.click(
self.app.geo_editor.snap(self.app.geo_editor.x, self.app.geo_editor.y))