Fix mirroring
This commit is contained in:
parent
bc723d96f3
commit
f7ce17c293
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ def _subpatterns_to_refs(subpatterns: List[SubPattern or GridRepetition]
|
|||
ref.strans = 0
|
||||
ref.angle = subpat.rotation * 180 / numpy.pi
|
||||
mirror_x, mirror_y = subpat.mirrored
|
||||
if mirror_y and mirror_y:
|
||||
if mirror_x and mirror_y:
|
||||
ref.angle += 180
|
||||
elif mirror_x:
|
||||
ref.strans = set_bit(ref.strans, 15 - 0, True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue