mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Fix time cost not being considered in total cost (#5698)
* Fix time cost not be added in total cost
This commit is contained in:
@@ -1398,6 +1398,8 @@ namespace DoExport {
|
|||||||
total_cost += weight * extruder->filament_cost() * 0.001;
|
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_extruded_volume = total_extruded_volume;
|
||||||
print_statistics.total_used_filament = total_used_filament;
|
print_statistics.total_used_filament = total_used_filament;
|
||||||
print_statistics.total_weight = total_weight;
|
print_statistics.total_weight = total_weight;
|
||||||
|
|||||||
Reference in New Issue
Block a user