From c334020d8fe044aa286a96c307c3dde501731f5c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 17 Apr 2020 17:34:19 +0200 Subject: Libmv: Cleanup, rephrase comment --- intern/libmv/libmv/simple_pipeline/bundle.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'intern/libmv') 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 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) { -- cgit v1.2.3