From b99b1f8d733ee822ebf14f31ca508dd73aa1470a Mon Sep 17 00:00:00 2001 From: Stone Li Date: Thu, 6 Apr 2023 15:29:25 +0800 Subject: [PATCH] FIX: fix a bug that can not send all to lan mode printers Signed-off-by: Stone Li Change-Id: I704cf0336dc809c84a1d8e149e831ffcf55f3004 --- src/slic3r/GUI/Plater.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 09b3bdc25a..d9398417d0 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -10047,9 +10047,7 @@ int Plater::send_gcode(int plate_idx, Export3mfProgressFn proFn) if (plate_idx == PLATE_CURRENT_IDX) { p->m_print_job_data.plate_idx = get_partplate_list().get_curr_plate_index(); } - else if (plate_idx == PLATE_ALL_IDX) { - p->m_print_job_data.plate_idx = get_partplate_list().get_curr_plate_index(); - } else { + else { p->m_print_job_data.plate_idx = plate_idx; }