Bugfix: tool numbers written in G-code were wrong
This commit is contained in:
parent
1a6eaeaa91
commit
d1e0bcf113
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ sub set_extruder {
|
|||
|
||||
# set the new extruder
|
||||
$self->extruder($extruder);
|
||||
$gcode .= sprintf "T%d%s\n", $extruder, ($Slic3r::Config->gcode_comments ? ' ; change extruder' : '');
|
||||
$gcode .= sprintf "T%d%s\n", $extruder->id, ($Slic3r::Config->gcode_comments ? ' ; change extruder' : '');
|
||||
$gcode .= $self->reset_e;
|
||||
|
||||
return $gcode;
|
||||
|
|
Loading…
Reference in a new issue