Bugfix: bed temperature wasn't being set after the first layer when first layer bed temperature was set to zero. #760

degen-loop-screen
Alessandro Ranellucci 2012-10-24 22:57:19 +02:00
parent 50f6909475
commit 31c2e50fc6
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ sub write_gcode {
if $self->extruders->[$t]->temperature && $self->extruders->[$t]->temperature != $self->extruders->[$t]->first_layer_temperature;
}
$gcode .= $gcodegen->set_bed_temperature($Slic3r::Config->bed_temperature)
if $Slic3r::Config->first_layer_bed_temperature && $Slic3r::Config->bed_temperature != $Slic3r::Config->first_layer_bed_temperature;
if $Slic3r::Config->bed_temperature && $Slic3r::Config->bed_temperature != $Slic3r::Config->first_layer_bed_temperature;
}
# go to layer (just use the first one, we only need Z from it)