Bugfix: with 0 solid layers, no infill was generated at all on fist and last layer. #325

degen-loop-screen
Alessandro Ranellucci 2012-05-22 12:17:17 +02:00
parent e7d609db12
commit 2c28d2f874
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ sub prepare_fill_surfaces {
# remove top/bottom surfaces
if ($Slic3r::solid_layers == 0) {
@surfaces = grep $_->surface_type == S_TYPE_INTERNAL, @surfaces;
$_->surface_type(S_TYPE_INTERNAL) for grep $_->surface_type != S_TYPE_INTERNAL, @surfaces;
}
# remove internal surfaces