From 91e250a2fdc3c95bd2318709a089448cc85320ea Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 9 Nov 2011 09:21:09 +0100 Subject: [PATCH] Infill solid layers even when --fill-density is set to zero. #37 --- lib/Slic3r/Fill.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Slic3r/Fill.pm b/lib/Slic3r/Fill.pm index 0703fff6a..92e4d60af 100644 --- a/lib/Slic3r/Fill.pm +++ b/lib/Slic3r/Fill.pm @@ -40,12 +40,13 @@ sub make_fill { my $filler = $Slic3r::fill_type; my $density = $Slic3r::fill_density; - next SURFACE unless $density > 0; # force 100% density and rectilinear fill for external surfaces if ($surface->surface_type ne 'internal') { $density = 1; $filler = 'rectilinear'; + } else { + next SURFACE unless $density > 0; } my @paths = $self->fillers->{$filler}->fill_surface(