Marius Stanciu 6 năm trước cách đây
mục cha
commit
ae8111bf59
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: