Ensure fan is turned off at start if disable_fan_first_layers > 0

This commit is contained in:
Alessandro Ranellucci 2012-03-03 23:18:02 +01:00
parent 7892a84408
commit f2032686da

View file

@ -622,6 +622,7 @@ sub export_gcode {
if ($Slic3r::support_material && $Slic3r::support_material_tool > 0) {
print $fh $extruder->set_tool(0);
}
print $fh $extruder->set_fan(0, 1) if $Slic3r::cooling && $Slic3r::disable_fan_first_layers;
# write gcode commands layer by layer
foreach my $layer (@{ $self->layers }) {