mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 19:56:09 +08:00
Bugfix: tool numbers written in G-code were wrong
This commit is contained in:
parent
1a6eaeaa91
commit
d1e0bcf113
@ -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…
x
Reference in New Issue
Block a user