[repetition / others] copies should get their own repetitions

This commit is contained in:
Jan Petykiewicz 2026-03-31 22:15:21 -07:00
commit 8d50f497f1
9 changed files with 32 additions and 0 deletions

View file

@ -124,6 +124,7 @@ class PolyCollection(Shape):
new = copy.copy(self)
new._vertex_lists = self._vertex_lists.copy()
new._vertex_offsets = self._vertex_offsets.copy()
new._repetition = copy.deepcopy(self._repetition, memo)
new._annotations = copy.deepcopy(self._annotations)
return new