Fix a numerical issue causing failure to detect some bridge anchors

grow-support
Alessandro Ranellucci 2013-07-06 14:38:53 +02:00
parent 532ff3cde9
commit cca25c9950
1 changed files with 2 additions and 0 deletions

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: