do not overwrite stroke params with satin column values (#3927)

pull/3791/merge dev-build-lexelby-sew-stack-type-errors
Kaalleen 2025-08-19 17:44:28 +02:00 zatwierdzone przez GitHub
rodzic 2417b351d2
commit a71ec6e459
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -247,6 +247,10 @@ class ParamsTab(ScrolledPanel):
def apply(self):
values = self.get_values()
for node in self.nodes:
if "satin_column" in values.keys() and values["satin_column"] is True and node.stroke_width < 0.3 * PIXELS_PER_MM:
# when we apply satin columns, strokes (running stitches) are not rendered in the simulator
# and we also don't want to set any of the chosen values to these elements as this may lead to unexpected rendering results
continue
for name, value in values.items():
node.set_param(name, value)