Subtattern .as_pattern() should deepcopy
This commit is contained in:
parent
df5c61f1d4
commit
8dfd856e18
@ -112,7 +112,7 @@ class SubPattern:
|
|||||||
SubPattern's properties.
|
SubPattern's properties.
|
||||||
:return: Copy of self.pattern that has been altered to reflect the 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.scale_by(self.scale)
|
||||||
[pattern.mirror(ax) for ax, do in enumerate(self.mirrored) if do]
|
[pattern.mirror(ax) for ax, do in enumerate(self.mirrored) if do]
|
||||||
pattern.rotate_around((0.0, 0.0), self.rotation)
|
pattern.rotate_around((0.0, 0.0), self.rotation)
|
||||||
|
Loading…
Reference in New Issue
Block a user