Disable gap filling if gap fill speed is set to zero

This commit is contained in:
Alessandro Ranellucci 2012-12-17 19:55:25 +01:00
parent cf8390b5d3
commit b70404bb23
2 changed files with 2 additions and 2 deletions

View file

@ -303,7 +303,7 @@ our $Options = {
}, },
'gap_fill_speed' => { 'gap_fill_speed' => {
label => 'Gap fill', label => 'Gap fill',
tooltip => 'Speed for filling small gaps using short zigzag moves. Keep this reasonably low to avoid too much shaking and resonance issues.', tooltip => 'Speed for filling small gaps using short zigzag moves. Keep this reasonably low to avoid too much shaking and resonance issues. Set zero to disable gaps filling.',
sidetext => 'mm/s', sidetext => 'mm/s',
cli => 'gap-fill-speed=f', cli => 'gap-fill-speed=f',
type => 'f', type => 'f',

View file

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