- fixed the Gerber object UI layout

- added ability to mark individual apertures in Gerber file using the Gerber Aperture Table
This commit is contained in:
Marius Stanciu
2019-02-25 16:28:32 +02:00
committed by Marius
parent a25fc1e88c
commit d43de2ea77
6 changed files with 273 additions and 104 deletions

View File

@@ -4936,6 +4936,14 @@ class App(QtCore.QObject):
# Clear pool
self.clear_pool()
#delete shapes left drawn from mark shape_collections, if any
for obj in self.collection.get_list():
try:
obj.mark_shapes.enabled = False
obj.mark_shapes.clear(update=True)
except:
pass
# tcl needs to be reinitialized, otherwise old shell variables etc remains
self.init_tcl()