- fixed Gerber object color set for Legacy(2D) graphic engine; glitch on the OpenGL(3D) graphic engine
This commit is contained in:
@@ -112,9 +112,6 @@ class FlatCAMObj(QtCore.QObject):
|
||||
else:
|
||||
self.shapes = ShapeCollectionLegacy(obj=self, app=self.app, name=name)
|
||||
|
||||
self.fill_color = self.app.defaults['global_plot_fill']
|
||||
self.outline_color = self.app.defaults['global_plot_line']
|
||||
|
||||
self.mark_shapes = dict()
|
||||
|
||||
self.item = None # Link with project view item
|
||||
@@ -657,6 +654,9 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
|
||||
|
||||
self.units_found = self.app.defaults['units']
|
||||
|
||||
self.fill_color = self.app.defaults['global_plot_fill']
|
||||
self.outline_color = self.app.defaults['global_plot_line']
|
||||
|
||||
# Attributes to be included in serialization
|
||||
# Always append to it because it carries contents
|
||||
# from predecessors.
|
||||
|
||||
Reference in New Issue
Block a user