[ILibrary] fix dedup messing up rotations

This commit is contained in:
Jan Petykiewicz 2026-03-31 21:21:16 -07:00
commit 620b001af5
2 changed files with 25 additions and 2 deletions

View file

@ -1106,7 +1106,7 @@ class ILibrary(ILibraryView, MutableMapping[str, 'Pattern'], metaclass=ABCMeta):
for ii, values in shape_entries:
offset, scale, rotation, mirror_x = values
pat.ref(target=target, offset=offset, scale=scale,
rotation=rotation, mirrored=(mirror_x, False))
rotation=rotation, mirrored=mirror_x)
shapes_to_remove.append(ii)
# Remove any shapes for which we have created refs.