Put layer number in G-code comments. #327

This commit is contained in:
Alessandro Ranellucci 2012-05-01 15:06:19 +02:00
parent 7ee08be0b8
commit d58a741d99

View file

@ -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"