Fix a numerical issue causing failure to detect some bridge anchors

This commit is contained in:
Alessandro Ranellucci 2013-07-06 14:38:53 +02:00
parent 532ff3cde9
commit cca25c9950

View File

@ -525,6 +525,8 @@ sub _detect_bridges {
my $anchors = intersection_ex(
[ $surface->p ],
[ 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: