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