summaryrefslogtreecommitdiff
path: root/gerbonara/rs274x.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/rs274x.py')
-rw-r--r--gerbonara/rs274x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/rs274x.py b/gerbonara/rs274x.py
index 271880b..01cdccf 100644
--- a/gerbonara/rs274x.py
+++ b/gerbonara/rs274x.py
@@ -267,7 +267,7 @@ class GerberFile(CamFile):
for aperture in self.apertures:
if isinstance(aperture, apertures.ApertureMacroInstance):
- macro_def = am_stmt(aperture._rotated().macro)
+ macro_def = am_stmt(aperture.rotated().macro)
if macro_def not in processed_macros:
processed_macros.add(macro_def)
yield macro_def