From 92b933f274254ccf6c4165a59a980626a00b4356 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Wed, 11 Sep 2024 22:17:32 +0800 Subject: [PATCH] Fix issue that "total filament used [g]" is missing from gcode (#6728) * Fix issue that "total filament used [g]" is missing from gcode --- src/libslic3r/GCode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 171d68b94..49427a1d3 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -1720,6 +1720,7 @@ namespace DoExport { filament_stats_string_out += "\n" + out_filament_used_g.first; if (out_filament_cost.second) filament_stats_string_out += "\n" + out_filament_cost.first; + filament_stats_string_out += "\n"; } return filament_stats_string_out; }