From e52886a64a4e76c3fdc49df95c85655da3c4f7f4 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 30 Jun 2024 22:49:18 +0200 Subject: Various fixes (#3028) * several thread palette extension fixes * fix svg tartan when original shape is invalid * tartan stroke spaces * style * fix tartan color substituion at pattern start * ripple: do not render too small paths * use less space for params warning headline * fix clone shape path * zip export template fix (typo) * add realistic stitch plan output warning (help tab) --- lib/stitches/ripple_stitch.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/stitches') 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]) -- cgit v1.2.3