auto_satin: running stitch explicitly without fill (#3771)

* ensure that also satins have no fill
pull/3779/head
Kaalleen 2025-06-04 16:57:24 +02:00 zatwierdzone przez GitHub
rodzic 58c47417b1
commit 46f4389e4f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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 != '':