mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX: timelapse should not enable when not supporting timelapse
jira: STUDIO-9946 Change-Id: Ic8f369972c598c812e30d197927fa5fb63be133b (cherry picked from commit 7897cd68c99392f1b6254b8d436b1d54c8565942)
This commit is contained in:
@@ -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 {
|
||||
@@ -1868,10 +1868,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.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,11 +192,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 {
|
||||
@@ -2289,9 +2289,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\".");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user