- the selection shapes are now moved from Move Plugin to AppMain

- Fiducials Plugin: fixed errors due of changes in the Shapely module
- Fiducials Plugin: fixed an error where in Basic mode the soldermask opening is added incorrectly
This commit is contained in:
Marius Stanciu
2023-05-19 13:09:08 +03:00
parent ba3152e5f9
commit a49f54d63f
10 changed files with 60 additions and 51 deletions

View File

@@ -49,12 +49,7 @@ class ToolMove(AppTool):
self.sel_rect = None
self.old_coords = []
# VisPy visuals
if self.app.use_3d_engine:
self.sel_shapes = ShapeCollection(parent=self.app.plotcanvas.view.scene, layers=1, pool=self.app.pool)
else:
from appGUI.PlotCanvasLegacy import ShapeCollectionLegacy
self.sel_shapes = ShapeCollectionLegacy(obj=self, app=self.app, name="move")
self.sel_shapes = self.app.sel_shapes
self.mm = None
self.mp = None