- minor changes

This commit is contained in:
Marius Stanciu
2022-01-25 04:30:14 +02:00
committed by Marius
parent 0c656ab10c
commit 6cdb276a08
3 changed files with 6 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ class ExcellonObject(FlatCAMObj, Excellon):
# Attributes to be included in serialization
# Always append to it because it carries contents
# from predecessors.
self.ser_attrs += ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level']
self.ser_attrs = ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] + self.ser_attrs
def set_ui(self, ui):
"""

View File

@@ -106,7 +106,7 @@ class GerberObject(FlatCAMObj, Gerber):
# Attributes to be included in serialization
# Always append to it because it carries contents
# from predecessors.
self.ser_attrs += ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level']
self.ser_attrs = ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] + self.ser_attrs
def set_ui(self, ui):
"""