Skip to content

Commit

Permalink
Update bundler_tracks.cc
Browse files Browse the repository at this point in the history
Fix counting deleted tracks, closes simonfuhrmann#528
  • Loading branch information
simonfuhrmann authored Nov 17, 2020
1 parent 55f4a93 commit 6a81e19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/sfm/bundler_tracks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ Tracks::remove_invalid_tracks (ViewportList* viewports, TrackList* tracks)
{
if (tracks->at(i).features.empty())
{
num_invalid_tracks += 1;
delete_tracks[i] = true;
continue;
}
Expand Down

0 comments on commit 6a81e19

Please sign in to comment.