Fix NameError on Polygon primitive rendering
This commit is contained in:
parent
66a0d09e72
commit
1d9270d809
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue