summaryrefslogtreecommitdiff
path: root/lib/extensions
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-05-17 09:44:09 +0200
committerGitHub <noreply@github.com>2024-05-17 09:44:09 +0200
commit9188d6aba78e25d0595279df00c3ba9aef1df404 (patch)
treede8d5d26e0c1fe96fc9512dc08e8f0f66e628012 /lib/extensions
parent138aa78cb76990a91c4bf09dfa423b2081bedcbb (diff)
fix zigzag line to satin (#2917)
Diffstat (limited to 'lib/extensions')
-rw-r--r--lib/extensions/zigzag_line_to_satin.py2
1 files changed, 1 insertions, 1 deletions
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