This commit is contained in:
Alessandro Ranellucci 2012-06-18 13:49:14 +02:00
parent d8a64f0386
commit 2b6b91cd01
3 changed files with 78 additions and 3 deletions

View file

@ -484,7 +484,7 @@ sub write_gcode {
printf $fh $extruder->set_bed_temperature($Slic3r::first_layer_bed_temperature, 1),
if $Slic3r::first_layer_bed_temperature && $Slic3r::start_gcode !~ /M190/i;
printf $fh $extruder->set_temperature($Slic3r::first_layer_temperature)
if $Slic3r::first_layer_temperature;
if $Slic3r::first_layer_temperature && $Slic3r::start_gcode !~ /M104/i;
printf $fh "%s\n", Slic3r::Config->replace_options($Slic3r::start_gcode);
printf $fh $extruder->set_temperature($Slic3r::first_layer_temperature, 1)
if $Slic3r::first_layer_temperature && $Slic3r::start_gcode !~ /M109/i;