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
# is what's too small; we add it back as solid infill
{
if ($Slic3r::fill_density > 0) {
my $diff = diff_ex(
[ map $_->p, @surfaces ],
[ map $_->p, @{$self->fill_surfaces} ],