Marius Stanciu 6 tahun lalu
induk
melakukan
ae8111bf59
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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: