Don't emit T0 at the beginning of the file, so that it's generated automatically just right before starting the print

This commit is contained in:
Alessandro Ranellucci 2012-10-28 17:29:01 +01:00
parent 935173047a
commit ecd054a57c

View File

@ -648,7 +648,6 @@ sub write_gcode {
); );
my $min_print_speed = 60 * $Slic3r::Config->min_print_speed; my $min_print_speed = 60 * $Slic3r::Config->min_print_speed;
my $dec = $gcodegen->dec; my $dec = $gcodegen->dec;
print $fh $gcodegen->set_extruder($self->extruders->[0]);
print $fh $gcodegen->set_fan(0, 1) if $Slic3r::Config->cooling && $Slic3r::Config->disable_fan_first_layers; print $fh $gcodegen->set_fan(0, 1) if $Slic3r::Config->cooling && $Slic3r::Config->disable_fan_first_layers;
# write start commands to file # write start commands to file