Always specify tool number in M104/M109 when printing with multiple extruders
This commit is contained in:
parent
4f1b56f004
commit
76f75db055
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ sub set_temperature {
|
||||||
: ('M104', 'set temperature');
|
: ('M104', 'set temperature');
|
||||||
my $gcode = sprintf "$code %s%d %s; $comment\n",
|
my $gcode = sprintf "$code %s%d %s; $comment\n",
|
||||||
($Slic3r::Config->gcode_flavor eq 'mach3' ? 'P' : 'S'), $temperature,
|
($Slic3r::Config->gcode_flavor eq 'mach3' ? 'P' : 'S'), $temperature,
|
||||||
(defined $tool && $tool != $self->extruder->id) ? "T$tool " : "";
|
(defined $tool && $self->multiple_extruders) ? "T$tool " : "";
|
||||||
|
|
||||||
$gcode .= "M116 ; wait for temperature to be reached\n"
|
$gcode .= "M116 ; wait for temperature to be reached\n"
|
||||||
if $Slic3r::Config->gcode_flavor eq 'teacup' && $wait;
|
if $Slic3r::Config->gcode_flavor eq 'teacup' && $wait;
|
||||||
|
|
Loading…
Reference in a new issue