mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 14:18:58 +08: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
@ -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…
x
Reference in New Issue
Block a user