[RenderStep] fix mirroring a planned path
This commit is contained in:
parent
932565d531
commit
707a16fe64
2 changed files with 13 additions and 2 deletions
|
|
@ -85,8 +85,8 @@ class RenderStep:
|
|||
new_start = self.start_port.copy()
|
||||
new_end = self.end_port.copy()
|
||||
|
||||
new_start.mirror(axis)
|
||||
new_end.mirror(axis)
|
||||
new_start.flip_across(axis=axis)
|
||||
new_end.flip_across(axis=axis)
|
||||
|
||||
return RenderStep(
|
||||
opcode = self.opcode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue