Subtattern .as_pattern() should deepcopy
This commit is contained in:
parent
df5c61f1d4
commit
8dfd856e18
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue