summaryrefslogtreecommitdiff
path: root/lib/elements/element.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2021-08-07 12:37:17 -0400
committerLex Neva <github.com@lexneva.name>2021-08-07 12:37:17 -0400
commit923ff3cb97c764f9999ac908c9b3aa321fd02301 (patch)
treeb266ad119182475ced5797857bb53ad31d76f34b /lib/elements/element.py
parentb1af926ea6018b869d2401aeece46318b88d9a5d (diff)
fix more patch references
Diffstat (limited to 'lib/elements/element.py')
-rw-r--r--lib/elements/element.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index a3577a5c..f06982b2 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -301,13 +301,13 @@ class EmbroideryElement(object):
def stop_after(self):
return self.get_boolean_param('stop_after', False)
- def to_patches(self, last_patch):
- raise NotImplementedError("%s must implement to_patches()" % self.__class__.__name__)
+ def to_stitch_groups(self, last_patch):
+ raise NotImplementedError("%s must implement to_stitch_groups()" % self.__class__.__name__)
def embroider(self, last_patch):
self.validate()
- patches = self.to_patches(last_patch)
+ patches = self.to_stitch_groups(last_patch)
apply_patterns(patches, self.node)
for patch in patches: