diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-04-12 05:59:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-12 05:59:54 +0200 |
| commit | 00b8297b1ebf2f395af16083bbbc42803fb180d2 (patch) | |
| tree | 749c9ec2a9e274cc33cb582e1573a215d13a4bca /lib/extensions/params.py | |
| parent | b932d2ae21289009b1eab188a0d44973cd932b03 (diff) | |
always update satin param (#3647)
Diffstat (limited to 'lib/extensions/params.py')
| -rwxr-xr-x | lib/extensions/params.py | 9 |
1 files changed, 9 insertions, 0 deletions
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() |
