Fix a numerical issue causing failure to detect some bridge anchors
This commit is contained in:
parent
532ff3cde9
commit
cca25c9950
1 changed files with 2 additions and 0 deletions
|
@ -525,6 +525,8 @@ sub _detect_bridges {
|
||||||
my $anchors = intersection_ex(
|
my $anchors = intersection_ex(
|
||||||
[ $surface->p ],
|
[ $surface->p ],
|
||||||
[ map @$_, @lower ],
|
[ map @$_, @lower ],
|
||||||
|
undef,
|
||||||
|
1, # safety offset required to avoid Clipper from detecting empty intersection while Boost actually found some @edges
|
||||||
);
|
);
|
||||||
|
|
||||||
# we'll now try several directions using a rudimentary visibility check:
|
# we'll now try several directions using a rudimentary visibility check:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue