Fix issue that "total filament used [g]" is missing from gcode (#6728)

* Fix issue that "total filament used [g]" is missing from gcode
This commit is contained in:
Noisyfox 2024-09-11 22:17:32 +08:00 committed by GitHub
parent 2b4cd6577b
commit 92b933f274
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1720,6 +1720,7 @@ namespace DoExport {
filament_stats_string_out += "\n" + out_filament_used_g.first; filament_stats_string_out += "\n" + out_filament_used_g.first;
if (out_filament_cost.second) if (out_filament_cost.second)
filament_stats_string_out += "\n" + out_filament_cost.first; filament_stats_string_out += "\n" + out_filament_cost.first;
filament_stats_string_out += "\n";
} }
return filament_stats_string_out; return filament_stats_string_out;
} }