mirror of https://github.com/rusefi/gerbmerge.git
fix circle rotation in aperture macros
This commit is contained in:
parent
59e982d30f
commit
fea2bf8868
|
@ -165,8 +165,8 @@ class ApertureMacroPrimitive:
|
|||
raise
|
||||
|
||||
def rotate(self):
|
||||
if self.code == 1: # Circle: nothing to do
|
||||
pass
|
||||
if self.code == 1: # Circle: [andreika]: FIX circle rotation
|
||||
rotatexypair(self.parms, 2)
|
||||
elif self.code in (2,20): # Line (vector): fields (2,3) and (4,5) must be rotated, no need to
|
||||
# rotate field 6
|
||||
rotatexypair(self.parms, 2)
|
||||
|
|
Loading…
Reference in New Issue