- NCC Plugin - fixed a minor bug that crashed the NCC Tcl Command; reported by @Aldin Halilovic on bitbucket

This commit is contained in:
Marius Stanciu
2023-06-08 23:01:10 +03:00
parent 598650d41e
commit 22db129f60
2 changed files with 69 additions and 66 deletions

View File

@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM Evo beta
- Gerber Parser: minor changes, cleaning up the KiCAD junk lines if the Gerber file is made by KiCAD
- Allowed the opening of certain types of damaged Gerber files (apertures not defines but used) but WARNINGS
- NCC Plugin - fixed a minor bug that crashed the NCC Tcl Command; reported by @Aldin Halilovic on bitbucket
7.06.2023

View File

@@ -3228,7 +3228,9 @@ class NonCopperClear(AppTool, Gerber):
old_disp_number = 0
self.app.log.warning("Total number of polygons to be cleared. %s" % str(geo_len))
if area.geoms:
if not area:
continue
pol_nr = 0
for p in area:
# provide the app with a way to process the GUI events when in a blocking loop