From 00b8297b1ebf2f395af16083bbbc42803fb180d2 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 12 Apr 2025 05:59:54 +0200 Subject: always update satin param (#3647) --- lib/extensions/params.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/extensions/params.py b/lib/extensions/params.py index 0cac9365..0d709b77 100755 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -97,6 +97,15 @@ class ParamsTab(ScrolledPanel): if self.toggle: self.update_toggle_state() + # when there is a selection with satin elements and elements the user wants to turn into satins, + # the satin checkbox will be activated and everything (except for running stitches with + # only one subpath) will show in the simulator as satin. + # It is highly confusing for users, when these elements are still running stitches when they click on apply. + # So let's add the satin column param to the list of changed_inputs right away - even when they didn't actively + # change it + if self.toggle and self.toggle.name == 'satin_column': + self.enable_change_indicator(self.toggle.name) + self.changed_inputs.add(self.toggle_checkbox) self.update_enable_widgets() -- cgit v1.2.3