From 8bf9c7a5b47675da39aa876008d321b770b8ec5a Mon Sep 17 00:00:00 2001 From: "lane.wei" Date: Mon, 28 Aug 2023 11:20:07 +0800 Subject: [PATCH] FIX: CLI: fix the wipetower wrongly generated issue JIRA: MAK-xxx Change-Id: I6d6af58c7106df4dacb51e98dd607ff77c058c13 (cherry picked from commit 080c6ced15bf9eb6e490fbd3616667d66ecbff86) --- src/BambuStudio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BambuStudio.cpp b/src/BambuStudio.cpp index 4dacd989c..084ac514d 100644 --- a/src/BambuStudio.cpp +++ b/src/BambuStudio.cpp @@ -2891,6 +2891,7 @@ int CLI::run(int argc, char **argv) BOOST_LOG_TRIVIAL(info) << "Skip plate " << index+1 << std::endl; continue; } + model.curr_plate_index = index; BOOST_LOG_TRIVIAL(info) << boost::format("Plate %1%: pre_check %2%, start")%(index+1)%pre_check; long long start_time = 0, end_time = 0; start_time = (long long)Slic3r::Utils::get_current_time_utc();