Marius Stanciu hace 6 años
padre
commit
ae8111bf59
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      flatcamTools/ToolSilk.py

+ 1 - 1
flatcamTools/ToolSilk.py

@@ -197,7 +197,7 @@ class ToolSilk(FlatCAMTool):
                                 new_solid_geometry.append(geo_silk)
 
         try:
-            while True:
+            while not self.new_apertures[aperture_id]['solid_geometry']:
                 self.new_apertures[aperture_id]['solid_geometry'] = new_solid_geometry
                 time.sleep(0.1)
         except: