mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-18 21:20:57 +00:00
Fix missing plate bed override normalization in Configuration Wizard (#16365)
This commit is contained in:
1 parent
d5a11eb076
commit
f4bde2da0a
3 files changed
+6
-8
No files matched your search
@@ -77,11 +77,8 @@ ParamsDialog::ParamsDialog(wxWindow * parent)
|
||||
auto &preset_bundle = *wxGetApp().preset_bundle;
|
||||
const bool supports_multiple_bed_types = preset_bundle.is_bbl_vendor() ||
|
||||
preset_bundle.printers.get_edited_preset().config.opt_bool("support_multi_bed_types");
|
||||
if (m_initial_multi_bed_types != supports_multiple_bed_types) {
|
||||
if (m_initial_multi_bed_types != supports_multiple_bed_types)
|
||||
wxGetApp().plater()->normalize_bed_types(true);
|
||||
if (auto *plate_tab = dynamic_cast<TabPrintPlate *>(wxGetApp().get_plate_tab()))
|
||||
plate_tab->update_model_config();
|
||||
}
|
||||
}
|
||||
|
||||
if (!m_editing_filament_id.empty()) {
|
||||
@@ -93,8 +90,6 @@ ParamsDialog::ParamsDialog(wxWindow * parent)
|
||||
#endif
|
||||
wxGetApp().sidebar().finish_param_edit();
|
||||
});
|
||||
|
||||
//wxGetApp().UpdateDlgDarkUI(this);
|
||||
}
|
||||
|
||||
void ParamsDialog::Popup()
|
||||
|
||||
Reference in new issue
Block a user