diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-08-19 17:44:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-19 17:44:28 +0200 |
| commit | a71ec6e4599e28dfac45d2df3575976dffbb25d6 (patch) | |
| tree | 2ae60afcfd4d155c8db45e5671967fe2596b0015 /lib | |
| parent | 2417b351d29f021b41ef855d6156f856bac197ee (diff) | |
do not overwrite stroke params with satin column values (#3927)
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/extensions/params.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py index fd4af28f..28b524d6 100755 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -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) |
