- fixed errors on project load, in ParseGerber and Extract and Punch Gerber Plugins due of refactoring the 'apertures' attribute to 'tools'

This commit is contained in:
Marius Stanciu
2021-03-03 23:21:10 +02:00
committed by Marius
parent f317061792
commit cda5f830be
5 changed files with 6 additions and 8 deletions

View File

@@ -229,7 +229,7 @@ class Gerber(Geometry):
# Attributes to be included in serialization
# Always append to it because it carries contents
# from Geometry.
self.ser_attrs += ['apertures', 'int_digits', 'frac_digits', 'aperture_macros', 'solid_geometry', 'source_file']
self.ser_attrs += ['tools', 'int_digits', 'frac_digits', 'aperture_macros', 'solid_geometry', 'source_file']
def aperture_parse(self, apertureId, apertureType, apParameters):
"""