Retract before changing tool. #319

This commit is contained in:
Alessandro Ranellucci 2012-05-01 14:44:40 +02:00
parent e74e740ba4
commit d8b8470d54

View File

@ -341,7 +341,7 @@ sub set_tool {
my $self = shift;
my ($tool) = @_;
return sprintf "T%d%s\n", $tool, ($Slic3r::gcode_comments ? ' ; change tool' : '');
return $self->retract . sprintf "T%d%s\n", $tool, ($Slic3r::gcode_comments ? ' ; change tool' : '');
}
sub set_fan {