Don't fill gaps if fill density is 0. #915

This commit is contained in:
Alessandro Ranellucci 2013-01-17 10:39:05 +01:00
parent f3a1221039
commit ecc7e4560e

View file

@ -252,7 +252,7 @@ sub make_perimeters {
}
# fill gaps
if ($Slic3r::Config->gap_fill_speed > 0) {
if ($Slic3r::Config->gap_fill_speed > 0 && $Slic3r::Config->fill_density > 0) {
my $filler = Slic3r::Fill::Rectilinear->new(layer_id => $self->layer->id);
my $w = $self->perimeter_flow->width;