fix circle rotation in aperture macros

This commit is contained in:
Andrei 2021-04-16 10:14:58 +03:00
parent 59e982d30f
commit fea2bf8868
1 changed files with 2 additions and 2 deletions

View File

@ -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)