Added test for standby_temperature

This commit is contained in:
Alessandro Ranellucci 2013-09-19 01:29:34 +02:00
parent 0dd3ab0662
commit 40fd7418cd
2 changed files with 52 additions and 0 deletions

View file

@ -740,6 +740,7 @@ sub write_gcode {
return if $Slic3r::Config->start_gcode =~ /M(?:109|104)/i;
for my $t (0 .. $#{$self->extruders}) {
my $temp = $self->extruders->[$t]->first_layer_temperature;
$temp += $self->config->standby_temperature_delta if $self->config->standby_temperature;
printf $fh $gcodegen->set_temperature($temp, $wait, $t) if $temp > 0;
}
};