- added a Multi-color checkbox for the Excellon UI (this way colors for each tool are easier to differentiate especially when the diameter is close)

This commit is contained in:
Marius Stanciu
2020-05-30 20:23:47 +03:00
committed by Marius
parent 44191a5e07
commit f74379de3e
8 changed files with 96 additions and 17 deletions

View File

@@ -459,8 +459,13 @@ class FlatCAMObj(QtCore.QObject):
def visible(self, value, threaded=True):
log.debug("FlatCAMObj.visible()")
# self.shapes.visible = value # maybe this is slower in VisPy
self.shapes.enabled = value
# self.shapes.visible = value # maybe this is slower in VisPy? use enabled property?
if self.shapes.visible is True:
if value is False:
self.shapes.visible = False
else:
if value is True:
self.shapes.visible = True
if self.app.is_legacy is False:
# Not all object types has annotations