summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2019-07-07 15:55:48 +0200
committerGitHub <noreply@github.com>2019-07-07 15:55:48 +0200
commitfccefb3e0d9cf9a512983e3dbf4927ade1867f81 (patch)
tree98f536dc2cf19b05e246b6695879d370bb5a84ee
parent1b18d915a91f838dce7126d80674e3207efe6374 (diff)
rescue VP3
-rw-r--r--lib/extensions/input.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/extensions/input.py b/lib/extensions/input.py
index bfb488f1..53961e91 100644
--- a/lib/extensions/input.py
+++ b/lib/extensions/input.py
@@ -18,7 +18,8 @@ class Input(object):
color_block = None
for raw_stitches, thread in pattern.get_as_colorblocks():
- color_block = stitch_plan.new_color_block(thread)
+ if len(raw_stitches) > 1:
+ color_block = stitch_plan.new_color_block(thread)
trim_after = False
for x, y, command in raw_stitches:
if command == pyembroidery.STITCH: