summaryrefslogtreecommitdiff
path: root/lib/elements/clone.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2021-08-16 19:40:44 -0400
committerGitHub <noreply@github.com>2021-08-16 19:40:44 -0400
commit3ebc238561dd2403b19a56a0f3147c70eb4ebe3d (patch)
treec7e4c618335fac2196d42e03f26c3c2ad2a4251d /lib/elements/clone.py
parent5a7b7276759b6fb4c85891b13d9ee7a2da8150ab (diff)
parentb49f7d28314f30727f9f963bddb795b88a95f2bd (diff)
Merge pull request #1254 from inkstitch/kaalleen/satin-patterns
Satin pattern and split stitch
Diffstat (limited to 'lib/elements/clone.py')
-rw-r--r--lib/elements/clone.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elements/clone.py b/lib/elements/clone.py
index 6dafa63d..a9e10d94 100644
--- a/lib/elements/clone.py
+++ b/lib/elements/clone.py
@@ -93,7 +93,7 @@ class Clone(EmbroideryElement):
return elements
- def to_patches(self, last_patch=None):
+ def to_stitch_groups(self, last_patch=None):
patches = []
source_node = get_clone_source(self.node)
@@ -123,7 +123,7 @@ class Clone(EmbroideryElement):
elements = self.clone_to_element(self.node)
for element in elements:
- patches.extend(element.to_patches(last_patch))
+ patches.extend(element.to_stitch_groups(last_patch))
return patches