diff --git a/lib/Slic3r/Extruder.pm b/lib/Slic3r/Extruder.pm index a7428bc5e..b04546971 100644 --- a/lib/Slic3r/Extruder.pm +++ b/lib/Slic3r/Extruder.pm @@ -45,7 +45,7 @@ sub change_layer { my $gcode = ""; $gcode .= $self->retract(move_z => $z); - $gcode .= $self->G0(undef, $z, 0, 'move to next layer') + $gcode .= $self->G0(undef, $z, 0, 'move to next layer (' . $layer->id . ')') if $self->z != $z; $gcode .= Slic3r::Config->replace_options($Slic3r::layer_gcode) . "\n"