- in Geometry Editor, for the Polygon Tool added the UI, the length projection and the cursor data, just like for the Path Tool

This commit is contained in:
Marius Stanciu
2022-04-14 22:00:24 +03:00
committed by Marius
parent 377d79d413
commit 6bab9be25a
4 changed files with 238 additions and 92 deletions

View File

@@ -3486,6 +3486,9 @@ class MainGUI(QtWidgets.QMainWindow):
if self.app.geo_editor.active_tool.name == 'path' and \
self.app.geo_editor.active_tool.path_tool.length != 0.0:
pass
elif self.app.geo_editor.active_tool.name == 'polygon' and \
self.app.geo_editor.active_tool.polygon_tool.length != 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))