From cc83e9f06d3d236e5c5599783f5ad3cfd4d149e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20R=C3=B6ssler?= Date: Sat, 7 Feb 2015 12:37:00 +0100 Subject: [PATCH] using end_program() function in GCode output --- lib/Slic3r/Print/GCode.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/Print/GCode.pm b/lib/Slic3r/Print/GCode.pm index b2c96d122..47f56ef45 100644 --- a/lib/Slic3r/Print/GCode.pm +++ b/lib/Slic3r/Print/GCode.pm @@ -249,6 +249,7 @@ sub export { print $fh $gcodegen->writer->set_fan(0); printf $fh "%s\n", $gcodegen->placeholder_parser->process($self->config->end_gcode); print $fh $gcodegen->writer->update_progress($gcodegen->layer_count, $gcodegen->layer_count, 1); # 100% + print $fh $gcodegen->writer->end_program(); $self->print->total_used_filament(0); $self->print->total_extruded_volume(0);