summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/stitch_plan/color_block.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stitch_plan/color_block.py b/lib/stitch_plan/color_block.py
index 2f387460..9d474f80 100644
--- a/lib/stitch_plan/color_block.py
+++ b/lib/stitch_plan/color_block.py
@@ -110,6 +110,9 @@ class ColorBlock(object):
if stitches[-1].jump or stitch.stop or stitch.trim or stitch.color_change:
# Don't consider jumps, stops, color changes, or trims as candidates for filtering
pass
+ elif 'lock_stitch' in stitch.tags:
+ # do not filter specific stitches
+ pass
else:
length = (stitch - stitches[-1]).length()
if length <= min_stitch_len * PIXELS_PER_MM: