summaryrefslogtreecommitdiff
path: root/lib/stitch_plan/stitch_plan.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-03-14 09:38:36 +0100
committerGitHub <noreply@github.com>2021-03-14 09:38:36 +0100
commit21614c7c3ae46fbfa229755916aec433faba0c95 (patch)
tree8a676049b49ba83890f320ab219b7b96aedc9aac /lib/stitch_plan/stitch_plan.py
parent3dd767917d8e604bf4a1f3b41c5c4fc506fa2b96 (diff)
add lock stitches select box (#1076)
Co-authored-by: Lex Neva <github.com@lexneva.name>
Diffstat (limited to 'lib/stitch_plan/stitch_plan.py')
-rw-r--r--lib/stitch_plan/stitch_plan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitch_plan/stitch_plan.py b/lib/stitch_plan/stitch_plan.py
index de66cb10..fc725371 100644
--- a/lib/stitch_plan/stitch_plan.py
+++ b/lib/stitch_plan/stitch_plan.py
@@ -40,7 +40,7 @@ def patches_to_stitch_plan(patches, collapse_len=None, disable_ties=False):
if len(color_block) and (patch.stitches[0] - color_block.stitches[-1]).length() > collapse_len:
color_block.add_stitch(patch.stitches[0], jump=True)
- color_block.add_stitches(patch.stitches, no_ties=patch.stitch_as_is)
+ color_block.add_stitches(stitches=patch.stitches, tie_modus=patch.tie_modus, no_ties=patch.stitch_as_is)
if patch.trim_after:
color_block.add_stitch(trim=True)