From 8dfd856e18561ec10942614773f096a894c78f60 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 28 Oct 2018 13:34:37 -0700 Subject: [PATCH] Subtattern .as_pattern() should deepcopy --- masque/subpattern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/subpattern.py b/masque/subpattern.py index 231d4e3..2ff0033 100644 --- a/masque/subpattern.py +++ b/masque/subpattern.py @@ -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)