Fix time cost not being considered in total cost (#5698)

* Fix time cost not be added in total cost
This commit is contained in:
cochcoder 2024-06-15 06:56:14 +00:00 committed by GitHub
parent de5fa59153
commit 0b233f23b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;