FIX: CLI: fix the compiling issues casued by variable name changes
jira: no-jira Change-Id: I9ec8d637d45c8f932c3e2bdbf13cfc19a82b3680
This commit is contained in:
parent
866fa230ed
commit
4905afe6c2
|
@ -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<ExtrusionRole, float>& 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<ConfigOptionFloat>("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<const ConfigOptionStrings*>(m_print_config.option("filament_ids"));
|
||||
|
|
Loading…
Reference in New Issue