diff --git a/lib/Slic3r/Layer.pm b/lib/Slic3r/Layer.pm index d7c1ae53f..670739c5b 100644 --- a/lib/Slic3r/Layer.pm +++ b/lib/Slic3r/Layer.pm @@ -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} ],