Infill solid layers even when --fill-density is set to zero. #37
This commit is contained in:
parent
d9ae37849d
commit
91e250a2fd
@ -40,12 +40,13 @@ sub make_fill {
|
|||||||
|
|
||||||
my $filler = $Slic3r::fill_type;
|
my $filler = $Slic3r::fill_type;
|
||||||
my $density = $Slic3r::fill_density;
|
my $density = $Slic3r::fill_density;
|
||||||
next SURFACE unless $density > 0;
|
|
||||||
|
|
||||||
# force 100% density and rectilinear fill for external surfaces
|
# force 100% density and rectilinear fill for external surfaces
|
||||||
if ($surface->surface_type ne 'internal') {
|
if ($surface->surface_type ne 'internal') {
|
||||||
$density = 1;
|
$density = 1;
|
||||||
$filler = 'rectilinear';
|
$filler = 'rectilinear';
|
||||||
|
} else {
|
||||||
|
next SURFACE unless $density > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
my @paths = $self->fillers->{$filler}->fill_surface(
|
my @paths = $self->fillers->{$filler}->fill_surface(
|
||||||
|
Loading…
Reference in New Issue
Block a user