diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-12-19 20:13:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-19 20:13:50 +0100 |
| commit | fe96b00968d1c81aed5c3f8b1eefdbcd591cf361 (patch) | |
| tree | 6a476b52cce94f813488045676566e2f9f98adc8 | |
| parent | bde094735a7308682d26b20989c6392081f77e6e (diff) | |
lettering simulator: use more accurate start points (#3358)
| -rw-r--r-- | lib/gui/lettering/main_panel.py | 5 |
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( |
