Skip to content

fix: resolve dithering_local_z_mode state inconsistencies across preset operations#340

Merged
zhangzhend0ng merged 1 commit into
Snapmaker:feature_mix_filament_smfrom
LuckZAE:develop
May 21, 2026
Merged

fix: resolve dithering_local_z_mode state inconsistencies across preset operations#340
zhangzhend0ng merged 1 commit into
Snapmaker:feature_mix_filament_smfrom
LuckZAE:develop

Conversation

@LuckZAE
Copy link
Copy Markdown

@LuckZAE LuckZAE commented May 20, 2026

Description
Add dithering_local_z_mode to s_Preset_print_options so it is stored in the print preset config. This ensures the UI reads the correct value on 3MF import, and the existing preset->project_config sync in load_current_presets() handles discard/new-project flows.

…et operations

Add dithering_local_z_mode to s_Preset_print_options so it is stored
in the print preset config. This ensures the UI reads the correct
value on 3MF import, and the existing preset->project_config sync in
load_current_presets() handles discard/new-project flows.

Also:
- update_color_mix_panel() no longer creates missing keys in the
  edited print preset
- dithering_local_z_mode on_value_change() no longer force-writes
  sub-option values via change_opt_value()
- UnsavedChangesDialog shows dirty options not found in searcher
  (coString/coStrings types excluded), using ConfigDef label when
  available
- load_current_preset() calls update_changed_ui() to refresh field
  decorations after reload
@zhangzhend0ng zhangzhend0ng merged commit 2be4a2f into Snapmaker:feature_mix_filament_sm May 21, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants