diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-04-17 18:34:19 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-04-20 17:26:32 +0300 |
commit | c334020d8fe044aa286a96c307c3dde501731f5c (patch) | |
tree | 52eea2e832944b3966662bf176500a43fe092a35 /intern | |
parent | 838d452843f2e5fa453ab34b1ba8f3ecdf63f33f (diff) |
Libmv: Cleanup, rephrase comment
Diffstat (limited to 'intern')
-rw-r--r-- | intern/libmv/libmv/simple_pipeline/bundle.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/intern/libmv/libmv/simple_pipeline/bundle.cc b/intern/libmv/libmv/simple_pipeline/bundle.cc index 5fcf6900ea5..25e63b219d1 100644 --- a/intern/libmv/libmv/simple_pipeline/bundle.cc +++ b/intern/libmv/libmv/simple_pipeline/bundle.cc @@ -311,12 +311,13 @@ void EuclideanBundlerPerformEvaluation(const Tracks &tracks, for (int i = 0; i <= max_track; i++) { EuclideanPoint *point = reconstruction->PointForTrack(i); if (point) { - // We need to know whether the track is constant zero weight, - // and it so it wouldn't have parameter block in the problem. + // We need to know whether the track is a constant zero weight. + // If it is so it wouldn't have a parameter block in the problem. // - // Getting all markers for track is not so bac currently since - // this code is only used by keyframe selection when there are - // not so much tracks and only 2 frames anyway. + // Usually getting all markers of a track is considered slow, but this + // code is only used by the keyframe selection code where there aren't + // that many tracks in the storage and there are only 2 frames for each + // of the tracks. vector<Marker> markera_of_track = tracks.MarkersForTrack(i); for (int j = 0; j < markera_of_track.size(); j++) { if (markera_of_track.at(j).weight != 0.0) { |