Fix minor error and update MANIFEST

This commit is contained in:
Alessandro Ranellucci 2014-03-11 19:19:34 +01:00
parent f344426873
commit b71d28bd5a
2 changed files with 1 additions and 2 deletions

View file

@ -249,7 +249,7 @@ sub make_perimeters {
# $loop is the outermost loop of an island
my @holes = ();
for (my $i = 0; $i <= $#$holes_pt; $i++) {
if ($loop->contains_point($holes_pt->[$i]{outer}->first_point)) {
if ($loop->polygon->contains_point($holes_pt->[$i]{outer}->first_point)) {
push @holes, splice @$holes_pt, $i, 1; # remove from candidates to reduce complexity
$i--;
}