summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-06-04 16:57:24 +0200
committerGitHub <noreply@github.com>2025-06-04 16:57:24 +0200
commit46f4389e4f211a60f701336c01fe44ab78077f9a (patch)
tree1202a0f83a9df8275a60250792fb0d436775ca2f
parent58c47417b1042491d0f42694da7d7fc38087abf1 (diff)
auto_satin: running stitch explicitly without fill (#3771)
* ensure that also satins have no fill
-rw-r--r--lib/stitches/auto_satin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stitches/auto_satin.py b/lib/stitches/auto_satin.py
index fc869485..0edc22fc 100644
--- a/lib/stitches/auto_satin.py
+++ b/lib/stitches/auto_satin.py
@@ -96,6 +96,7 @@ class SatinSegment(object):
stroke_width = convert_stroke_width(self.original_satin)
satin.node.style['stroke-width'] = stroke_width
+ satin.node.style['fill'] = 'none'
satin = satin.apply_transform()
@@ -262,7 +263,7 @@ class RunningStitch(object):
node.set("d", d)
stroke_width = convert_stroke_width(self.original_element)
- dasharray = inkex.Style(f"stroke-width:{stroke_width};stroke-dasharray:1,0.2;")
+ dasharray = inkex.Style(f"fill:none;stroke-width:{stroke_width};stroke-dasharray:1,0.2;")
style = inkex.Style(self.original_element.node.get('style', '')) + dasharray
node.set("style", str(style))
if self.running_stitch_length != '':