summaryrefslogtreecommitdiff
path: root/gerber
diff options
context:
space:
mode:
Diffstat (limited to 'gerber')
-rw-r--r--gerber/am_statements.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/am_statements.py b/gerber/am_statements.py
index f67b0db..11a6187 100644
--- a/gerber/am_statements.py
+++ b/gerber/am_statements.py
@@ -463,7 +463,7 @@ class AMPolygonPrimitive(AMPrimitive):
# Offset the primitive from macro position
position = tuple([a + b for a , b in zip (position, self.position)])
# Return a renderable primitive
- return Polygon(position, vertices, self.diameter/2.,
+ return Polygon(position, self.vertices, self.diameter/2.,
rotation=self.rotation, level_polarity=level_polarity,
units=units)