Bugfix: fatal error when a layer contained nothing

This commit is contained in:
Alessandro Ranellucci 2012-06-23 18:31:24 +02:00
parent 464400a37b
commit 20229fccdb

View file

@ -568,7 +568,7 @@ sub write_gcode {
if $Slic3r::support_material_tool > 0;
}
}
last if !$gcode;
return if !$gcode;
my $fan_speed = $Slic3r::fan_always_on ? $Slic3r::min_fan_speed : 0;
my $speed_factor = 1;