mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Always specify tool number in M104/M109 when printing with multiple extruders
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user