Bugfix: small surfaces where still infilled even with fill_density = 0

This commit is contained in:
Alessandro Ranellucci 2012-01-11 22:38:06 +01:00
parent ac8a33a40a
commit 468f09d3c1

View file

@ -245,7 +245,7 @@ sub remove_small_surfaces {
# the difference between @surfaces and $self->fill_surfaces # the difference between @surfaces and $self->fill_surfaces
# is what's too small; we add it back as solid infill # is what's too small; we add it back as solid infill
{ if ($Slic3r::fill_density > 0) {
my $diff = diff_ex( my $diff = diff_ex(
[ map $_->p, @surfaces ], [ map $_->p, @surfaces ],
[ map $_->p, @{$self->fill_surfaces} ], [ map $_->p, @{$self->fill_surfaces} ],