Fix time cost not being considered in total cost (#5698)
* Fix time cost not be added in total cost
This commit is contained in:
parent
de5fa59153
commit
0b233f23b5
1 changed files with 2 additions and 0 deletions
|
@ -1398,6 +1398,8 @@ namespace DoExport {
|
|||
total_cost += weight * extruder->filament_cost() * 0.001;
|
||||
}
|
||||
|
||||
total_cost += config.time_cost.getFloat() * (normal_print_time/3600.0);
|
||||
|
||||
print_statistics.total_extruded_volume = total_extruded_volume;
|
||||
print_statistics.total_used_filament = total_used_filament;
|
||||
print_statistics.total_weight = total_weight;
|
||||
|
|
Loading…
Reference in a new issue