Fixed wrong refactoring of perimeter tree traversal. #1832

This commit is contained in:
Alessandro Ranellucci 2014-03-15 02:16:04 +01:00
parent b71d28bd5a
commit 52de292a48
6 changed files with 31 additions and 11 deletions

View file

@ -233,7 +233,7 @@ sub make_perimeters {
# use a nearest neighbor search to order these children
# TODO: supply second argument to chained_path() too?
my $sorted_collection = $collection->chained_path(0);
my $sorted_collection = $collection->chained_path_indices(0);
my @orig_indices = @{$sorted_collection->orig_indices};
my @loops = ();