From 4905afe6c219584dd0cf5fc79a7ff8c1cdb828a8 Mon Sep 17 00:00:00 2001 From: "lane.wei" Date: Thu, 16 Jan 2025 14:05:47 +0800 Subject: [PATCH] FIX: CLI: fix the compiling issues casued by variable name changes jira: no-jira Change-Id: I9ec8d637d45c8f932c3e2bdbf13cfc19a82b3680 --- src/BambuStudio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BambuStudio.cpp b/src/BambuStudio.cpp index 327e70687..d85653fcf 100644 --- a/src/BambuStudio.cpp +++ b/src/BambuStudio.cpp @@ -5690,7 +5690,7 @@ int CLI::run(int argc, char **argv) auto it = std::find_if(time_mode.roles_times.begin(), time_mode.roles_times.end(), [](const std::pair& item) { return ExtrusionRole::erWipeTower == item.first; }); sliced_plate_info.total_predication = time_mode.time; sliced_plate_info.main_predication = time_mode.time - time_mode.prepare_time; - sliced_plate_info.filament_change_times = print_estimated_stat.total_filament_changes; + sliced_plate_info.filament_change_times = print_estimated_stat.total_filamentchanges; if (it != time_mode.roles_times.end()) { //filament changes time will be included in prime tower time later //ConfigOptionFloat* machine_load_filament_time_opt = m_print_config.option("machine_load_filament_time"); @@ -5710,7 +5710,7 @@ int CLI::run(int argc, char **argv) } } if (has_tool_change) - sliced_plate_info.layer_filament_change = print_estimated_stat.total_filament_changes; + sliced_plate_info.layer_filament_change = print_estimated_stat.total_filamentchanges; //filaments auto* filament_ids = dynamic_cast(m_print_config.option("filament_ids"));