From 97d53bad33ce4279f45fef54e78ea67fb66752c6 Mon Sep 17 00:00:00 2001 From: Kaalleen Date: Wed, 17 May 2023 23:17:22 +0200 Subject: ripple stitch grid starting point --- lib/stitches/ripple_stitch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/stitches/ripple_stitch.py b/lib/stitches/ripple_stitch.py index 40a522eb..e2f60a29 100644 --- a/lib/stitches/ripple_stitch.py +++ b/lib/stitches/ripple_stitch.py @@ -235,8 +235,8 @@ def _adjust_helper_lines_for_grid(stroke, helper_lines, skip_start, skip_end): if stroke.join_style == 0 and (stroke.reverse and count % 2 != 0): count += 1 - elif (stroke.join_style == 1 and ((stroke.reverse and skip_end % 2 != 0) or - (not stroke.reverse and skip_start % 2 != 0))): + elif (stroke.join_style == 1 and ((stroke.reverse and (count + skip_start) % 2 != 0) or + (not stroke.reverse and skip_start % 2 != 0))): count += 1 if count % 2 != 0: -- cgit v1.2.3