From e703e7850499e42fff678444da8efc23067081d0 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 11 Jul 2012 21:48:30 +0200 Subject: [PATCH] A typo caused no newline after Tn. #530 --- lib/Slic3r/GCode.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GCode.pm b/lib/Slic3r/GCode.pm index 838a09a16..7f0326a66 100644 --- a/lib/Slic3r/GCode.pm +++ b/lib/Slic3r/GCode.pm @@ -388,7 +388,7 @@ sub set_tool { $self->extruder_idx($tool); return $self->retract - . sprintf "T%d%s\n", $tool, ($Slic3r::gcode_comments ? ' ; change tool' : '') + . (sprintf "T%d%s\n", $tool, ($Slic3r::gcode_comments ? ' ; change tool' : '')) . $self->reset_e . $self->unretract; }