mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 13:39:00 +08:00
Retract before changing tool. #319
This commit is contained in:
parent
e74e740ba4
commit
d8b8470d54
@ -341,7 +341,7 @@ sub set_tool {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($tool) = @_;
|
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 {
|
sub set_fan {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user