FIX: timelapse should not enable when not supporting timelapse
jira: STUDIO-9946 Change-Id: Ic8f369972c598c812e30d197927fa5fb63be133b
This commit is contained in:
parent
3bef21933f
commit
7897cd68c9
|
@ -983,11 +983,11 @@ void SelectMachineDialog::update_select_layout(MachineObject *obj)
|
|||
} else {
|
||||
m_checkbox_list["flow_cali"]->setValue("on");
|
||||
}
|
||||
|
||||
update_timelapse_enable_status();
|
||||
update_flow_cali_check(obj);
|
||||
}
|
||||
|
||||
update_timelapse_enable_status();
|
||||
update_flow_cali_check(obj);
|
||||
|
||||
if (config && config->get("print", "timelapse") == "0") {
|
||||
m_checkbox_list["timelapse"]->setValue("off");
|
||||
} else {
|
||||
|
@ -1870,10 +1870,10 @@ void SelectMachineDialog::show_status(PrintDialogStatus status, std::vector<wxSt
|
|||
PartPlate *plate = m_plater->get_partplate_list().get_curr_plate();
|
||||
for (auto warning : plate->get_slice_result()->warnings) {
|
||||
if (warning.msg == NOT_GENERATE_TIMELAPSE) {
|
||||
if (warning.error_code == "1001C001") {
|
||||
if (warning.error_code == "10014001") {
|
||||
msg_text = _L("When enable spiral vase mode, machines with I3 structure will not generate timelapse videos.");
|
||||
}
|
||||
else if (warning.error_code == "1001C002") {
|
||||
else if (warning.error_code == "10014002") {
|
||||
msg_text = _L("The current printer does not support timelapse in Traditional Mode when printing By-Object.");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -190,11 +190,11 @@ void SyncAmsInfoDialog::update_select_layout(MachineObject *obj)
|
|||
} else {
|
||||
m_checkbox_list["flow_cali"]->setValue("on");
|
||||
}
|
||||
|
||||
update_timelapse_enable_status();
|
||||
update_flow_cali_check(obj);
|
||||
}
|
||||
|
||||
update_timelapse_enable_status();
|
||||
update_flow_cali_check(obj);
|
||||
|
||||
if (config && config->get("print", "timelapse") == "0") {
|
||||
m_checkbox_list["timelapse"]->setValue("off");
|
||||
} else {
|
||||
|
@ -2285,9 +2285,9 @@ void SyncAmsInfoDialog::show_status(PrintDialogStatus status, std::vector<wxStri
|
|||
PartPlate *plate = m_plater->get_partplate_list().get_curr_plate();
|
||||
for (auto warning : plate->get_slice_result()->warnings) {
|
||||
if (warning.msg == NOT_GENERATE_TIMELAPSE) {
|
||||
if (warning.error_code == "1001C001") {
|
||||
if (warning.error_code == "10014001") {
|
||||
msg_text = _L("When enable spiral vase mode, machines with I3 structure will not generate timelapse videos.");
|
||||
} else if (warning.error_code == "1001C002") {
|
||||
} else if (warning.error_code == "10014002") {
|
||||
msg_text = _L("Timelapse is not supported because Print sequence is set to \"By object\".");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue