summaryrefslogtreecommitdiff
path: root/lib/extensions/stitch_plan_preview.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/extensions/stitch_plan_preview.py
parentb1af926ea6018b869d2401aeece46318b88d9a5d (diff)
fix more patch references
Diffstat (limited to 'lib/extensions/stitch_plan_preview.py')
-rw-r--r--lib/extensions/stitch_plan_preview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/stitch_plan_preview.py b/lib/extensions/stitch_plan_preview.py
index ac1a4a67..c50fa738 100644
--- a/lib/extensions/stitch_plan_preview.py
+++ b/lib/extensions/stitch_plan_preview.py
@@ -23,7 +23,7 @@ class StitchPlanPreview(InkstitchExtension):
realistic = False
self.metadata = self.get_inkstitch_metadata()
collapse_len = self.metadata['collapse_len_mm']
- patches = self.elements_to_patches(self.elements)
+ patches = self.elements_to_stitch_groups(self.elements)
stitch_plan = stitch_groups_to_stitch_plan(patches, collapse_len=collapse_len)
render_stitch_plan(svg, stitch_plan, realistic)