summaryrefslogtreecommitdiff
path: root/lib/stitches
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stitches')
-rw-r--r--lib/stitches/ripple_stitch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stitches/ripple_stitch.py b/lib/stitches/ripple_stitch.py
index 7a2783f7..231a70e1 100644
--- a/lib/stitches/ripple_stitch.py
+++ b/lib/stitches/ripple_stitch.py
@@ -28,6 +28,8 @@ def ripple_stitch(stroke):
return []
is_linear, helper_lines = _get_helper_lines(stroke)
+ if not helper_lines:
+ return []
num_lines = len(helper_lines[0])
skip_start = _adjust_skip(stroke, num_lines, stroke.skip_start)