summaryrefslogtreecommitdiff
path: root/lib/extensions/output.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extensions/output.py')
-rw-r--r--lib/extensions/output.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/extensions/output.py b/lib/extensions/output.py
index e621f1b6..7cc12ee0 100644
--- a/lib/extensions/output.py
+++ b/lib/extensions/output.py
@@ -8,7 +8,7 @@ import sys
import tempfile
from ..output import write_embroidery_file
-from ..stitch_plan import patches_to_stitch_plan
+from ..stitch_plan import stitch_groups_to_stitch_plan
from .base import InkstitchExtension
@@ -52,8 +52,8 @@ class Output(InkstitchExtension):
self.metadata = self.get_inkstitch_metadata()
collapse_len = self.metadata['collapse_len_mm']
- patches = self.elements_to_patches(self.elements)
- stitch_plan = patches_to_stitch_plan(patches, collapse_len=collapse_len, disable_ties=self.settings.get('laser_mode', False))
+ patches = self.elements_to_stitch_groups(self.elements)
+ stitch_plan = stitch_groups_to_stitch_plan(patches, collapse_len=collapse_len, disable_ties=self.settings.get('laser_mode', False))
temp_file = tempfile.NamedTemporaryFile(suffix=".%s" % self.file_extension, delete=False)