After recent memory optimizations, no solid layers were made when using fill density == 0

This commit is contained in:
Alessandro Ranellucci 2012-05-20 17:28:53 +02:00
parent 67a076b360
commit 494f4f94bf
2 changed files with 2 additions and 2 deletions

View file

@ -347,7 +347,7 @@ sub prepare_fill_surfaces {
# remove internal surfaces
if ($Slic3r::fill_density == 0) {
@surfaces = grep $_->surface_type == S_TYPE_INTERNAL, @surfaces;
@surfaces = grep $_->surface_type != S_TYPE_INTERNAL, @surfaces;
}
$self->fill_surfaces([@surfaces]);