Remove weak test. #1803

This commit is contained in:
Alessandro Ranellucci 2014-04-15 00:57:43 +02:00
parent 43ffb7d3e8
commit e02d33bbce
2 changed files with 7 additions and 40 deletions

View File

@ -109,10 +109,12 @@ sub make_perimeters {
# look for gaps # look for gaps
if ($self->print->config->gap_fill_speed > 0 && $self->config->fill_density > 0) { if ($self->print->config->gap_fill_speed > 0 && $self->config->fill_density > 0) {
# not using safety offset here would "detect" very narrow gaps
# (but still long enough to escape the area threshold) that gap fill
# won't be able to fill but we'd still remove from infill area
my $diff = diff_ex( my $diff = diff_ex(
offset(\@last, -0.5*$pspacing), offset(\@last, -0.5*$pspacing),
offset(\@offsets, +0.5*$pspacing), offset(\@offsets, +0.5*$pspacing + 10), # safety offset
1,
); );
push @gaps, @last_gaps = grep abs($_->area) >= $gap_area_threshold, @$diff; push @gaps, @last_gaps = grep abs($_->area) >= $gap_area_threshold, @$diff;
} }

File diff suppressed because one or more lines are too long