FIX: fix a bug that can not send all to lan mode printers

Signed-off-by: Stone Li <stone.li@bambulab.com>
Change-Id: I704cf0336dc809c84a1d8e149e831ffcf55f3004
This commit is contained in:
Stone Li
2023-04-17 15:39:02 +08:00
committed by Lane.Wei
parent f2c06d7059
commit b99b1f8d73
+1 -3
View File
@@ -10047,9 +10047,7 @@ int Plater::send_gcode(int plate_idx, Export3mfProgressFn proFn)
if (plate_idx == PLATE_CURRENT_IDX) { if (plate_idx == PLATE_CURRENT_IDX) {
p->m_print_job_data.plate_idx = get_partplate_list().get_curr_plate_index(); p->m_print_job_data.plate_idx = get_partplate_list().get_curr_plate_index();
} }
else if (plate_idx == PLATE_ALL_IDX) { else {
p->m_print_job_data.plate_idx = get_partplate_list().get_curr_plate_index();
} else {
p->m_print_job_data.plate_idx = plate_idx; p->m_print_job_data.plate_idx = plate_idx;
} }