mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 17:12:07 +00:00
FIX: add configured bed leveling option
jira: [STUDIO-11412] Change-Id: I999d5f4df34c7b1979a340735abaf275f2574674 (cherry picked from commit 63e6890cc742a861c53a109ba848b69292a1a858)
This commit is contained in:
@@ -2413,13 +2413,16 @@ void SelectMachineDialog::update_option_opts(MachineObject *obj)
|
||||
m_checkbox_list["timelapse"]->Show();
|
||||
|
||||
/*bed_leveling*/
|
||||
if (obj->is_enable_np) {
|
||||
if (obj->is_support_bed_leveling == 2) {
|
||||
m_checkbox_list["bed_leveling"]->Show();
|
||||
m_checkbox_list["bed_leveling"]->update_options(ops_auto, _L("This checks the flatness of heatbed. Leveling makes extruded height uniform.\n*Automatic mode: Run a "
|
||||
"leveling check(about 10 seconds). Skip if surface is fine."));
|
||||
} else {
|
||||
} else if (obj->is_support_bed_leveling == 1) {
|
||||
m_checkbox_list["bed_leveling"]->Show();
|
||||
m_checkbox_list["bed_leveling"]->update_options(ops_no_auto, _L("This checks the flatness of heatbed. Leveling makes extruded height uniform."));
|
||||
} else {
|
||||
m_checkbox_list["bed_leveling"]->Hide();
|
||||
}
|
||||
m_checkbox_list["bed_leveling"]->Show(obj->is_support_auto_leveling);
|
||||
|
||||
/*nozzle_offset_cali*/
|
||||
if (obj->is_support_nozzle_offset_cali) {
|
||||
|
||||
Reference in New Issue
Block a user