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 fb70869..c559029 100644
--- a/gerbonara/rs274x.py
+++ b/gerbonara/rs274x.py
@@ -286,7 +286,7 @@ class GerberFile(CamFile):
number = 10
for aperture in self.apertures:
if isinstance(aperture, apertures.ApertureMacroInstance):
- macro_def = am_stmt(aperture.rotated().macro)
+ macro_def = am_stmt(aperture.macro)
if macro_def not in processed_macros:
processed_macros.add(macro_def)
yield macro_def