mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-12 06:16:05 -06:00
NEW:new fialment load/unload process
jira:[none] Change-Id: Ie0076d5c7ec619414121c1f6d37876aaa4e044c1 (cherry picked from commit 5d9a7eaadcd5ab6dc2f18e65000ead81e7e8adb6)
This commit is contained in:
parent
27780819e1
commit
21b67d993f
12 changed files with 765 additions and 171 deletions
|
|
@ -916,9 +916,8 @@ void SelectMachineDialog::update_select_layout(MachineObject *obj)
|
|||
m_checkbox_list["flow_cali"]->Hide();
|
||||
m_checkbox_list["nozzle_offset_cali"]->Hide();
|
||||
|
||||
if (!obj) {
|
||||
return;
|
||||
}
|
||||
if (!obj) {return;}
|
||||
AppConfig *config = wxGetApp().app_config;
|
||||
|
||||
if (obj->is_enable_np) {
|
||||
m_checkbox_list["nozzle_offset_cali"]->Show();
|
||||
|
|
@ -934,27 +933,28 @@ void SelectMachineDialog::update_select_layout(MachineObject *obj)
|
|||
m_checkbox_list["bed_leveling"]->update_options(ops_no_auto);
|
||||
m_checkbox_list["flow_cali"]->update_options(ops_auto);
|
||||
|
||||
AppConfig *config = wxGetApp().app_config;
|
||||
if (config && config->get("print", "bed_leveling") == "0") {
|
||||
m_checkbox_list["bed_leveling"]->setValue("off");
|
||||
} else {
|
||||
m_checkbox_list["bed_leveling"]->setValue("on");
|
||||
}
|
||||
|
||||
if (config && config->get("print", "flow_cali") == "0") {
|
||||
m_checkbox_list["flow_cali"]->setValue("off");
|
||||
} else {
|
||||
m_checkbox_list["flow_cali"]->setValue("on");
|
||||
}
|
||||
if (config && config->get("print", "timelapse") == "0") {
|
||||
m_checkbox_list["timelapse"]->setValue("off");
|
||||
} else {
|
||||
m_checkbox_list["timelapse"]->setValue("on");
|
||||
}
|
||||
|
||||
update_timelapse_enable_status();
|
||||
update_flow_cali_check(obj);
|
||||
}
|
||||
|
||||
if (config && config->get("print", "timelapse") == "0") {
|
||||
m_checkbox_list["timelapse"]->setValue("off");
|
||||
} else {
|
||||
m_checkbox_list["timelapse"]->setValue("on");
|
||||
}
|
||||
|
||||
if (obj && obj->is_support_auto_flow_calibration) {
|
||||
m_checkbox_list["flow_cali"]->Show();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue