summaryrefslogtreecommitdiff
path: root/lib/stitches
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stitches')
-rw-r--r--lib/stitches/ripple_stitch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stitches/ripple_stitch.py b/lib/stitches/ripple_stitch.py
index a354166c..e150945e 100644
--- a/lib/stitches/ripple_stitch.py
+++ b/lib/stitches/ripple_stitch.py
@@ -24,6 +24,9 @@ def ripple_stitch(stroke):
If more sublines are present interpolation will take place between the first two.
'''
+ if stroke.as_multi_line_string().length < 0.1:
+ return []
+
is_linear, helper_lines = _get_helper_lines(stroke)
num_lines = len(helper_lines[0])