From 9188d6aba78e25d0595279df00c3ba9aef1df404 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Fri, 17 May 2024 09:44:09 +0200 Subject: fix zigzag line to satin (#2917) --- lib/extensions/zigzag_line_to_satin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/extensions') diff --git a/lib/extensions/zigzag_line_to_satin.py b/lib/extensions/zigzag_line_to_satin.py index b71bf6a0..f867a42b 100644 --- a/lib/extensions/zigzag_line_to_satin.py +++ b/lib/extensions/zigzag_line_to_satin.py @@ -170,7 +170,7 @@ class ZigzagLineToSatin(InkstitchExtension): path_commands.append(inkex.paths.Curve(*start, *end, *point)) # recalculate rungs for zigzag pattern - if self.options.pattern == 'zigzag' and (has_equal_rail_point_count or i <= len(r)) and (not self.options.reduce_rungs or j == 0): + if self.options.pattern == 'zigzag' and i <= len(r) and (not self.options.reduce_rungs or j == 0): # in zigzag mode we do have alternating points on rails # when smoothing them out, rungs may not intersect anymore # so we need to find a spot on the smoothed rail to ensure the correct length -- cgit v1.2.3