Subtattern .as_pattern() should deepcopy

This commit is contained in:
Jan Petykiewicz 2018-10-28 13:34:37 -07:00
parent df5c61f1d4
commit 8dfd856e18

View File

@ -112,7 +112,7 @@ class SubPattern:
SubPattern's properties.
:return: Copy of self.pattern that has been altered to reflect the SubPattern's properties.
"""
pattern = self.pattern.copy()
pattern = self.pattern.deepcopy()
pattern.scale_by(self.scale)
[pattern.mirror(ax) for ax, do in enumerate(self.mirrored) if do]
pattern.rotate_around((0.0, 0.0), self.rotation)