- Geometry Editor: made the tool to be able to continuously move until the tool is exited either by ESC key or by right mouse button click

- Geometry Editor Move Tool: if no shape is selected when triggering this tool, now it is possible to make the selection inside the tool
- Gerber editor Move Tool: fixed a bug that repeated the plotting function unnecessarily
- Gerber editor Move Tool: if no shape is selected the tool will exit
This commit is contained in:
Marius Stanciu
2019-05-08 20:01:06 +03:00
parent 0a150fba79
commit 28fce82432
4 changed files with 163 additions and 46 deletions

View File

@@ -7269,13 +7269,13 @@ class CNCjob(Geometry):
self.create_geometry()
def get_bounds(geometry_list):
xmin = Inf
ymin = Inf
xmax = -Inf
ymax = -Inf
#print "Getting bounds of:", str(geometry_set)
for gs in geometry_list:
try:
gxmin, gymin, gxmax, gymax = gs.bounds()