mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-30 04:02:52 -06:00
Bugfix: sometimes a tiny gap was left between infill and perimeters. Includes regression test. #1803
This commit is contained in:
parent
7569836b3c
commit
43ffb7d3e8
2 changed files with 41 additions and 2 deletions
|
|
@ -112,6 +112,7 @@ sub make_perimeters {
|
||||||
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),
|
||||||
|
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
Loading…
Add table
Add a link
Reference in a new issue