Fix out-of-range angles
This commit is contained in:
parent
f7ce17c293
commit
3815069136
1 changed files with 1 additions and 0 deletions
|
|
@ -414,6 +414,7 @@ def _subpatterns_to_refs(subpatterns: List[SubPattern or GridRepetition]
|
|||
elif mirror_y:
|
||||
ref.angle += 180
|
||||
ref.strans = set_bit(ref.strans, 15 - 0, True)
|
||||
ref.angle %= 360
|
||||
ref.mag = subpat.scale
|
||||
|
||||
refs.append(ref)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue