summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gui/lettering/main_panel.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gui/lettering/main_panel.py b/lib/gui/lettering/main_panel.py
index 9e0e2e7d..05510d12 100644
--- a/lib/gui/lettering/main_panel.py
+++ b/lib/gui/lettering/main_panel.py
@@ -323,10 +323,13 @@ class LetteringPanel(wx.Panel):
self.update_lettering()
elements = nodes_to_elements(self.group.iterdescendants(SVG_PATH_TAG))
+ last_stitch_group = None
for element in elements:
check_stop_flag()
- stitch_groups.extend(element.embroider(None))
+ stitch_groups.extend(element.embroider(last_stitch_group))
+ if stitch_groups:
+ last_stitch_group = stitch_groups[-1]
if stitch_groups:
return stitch_groups_to_stitch_plan(