[Bf-blender-cvs] [401279253ea] master: Fix T84515: Status bar is reporting the average solve error of the wrong tracking object

Oliver Weissbarth noreply at git.blender.org
Tue Jan 12 11:07:23 CET 2021


Commit: 401279253ea6109cec9ccfd1d94ba0ab9fdbf7bc
Author: Oliver Weissbarth
Date:   Tue Jan 12 11:01:54 2021 +0100
Branches: master
https://developer.blender.org/rB401279253ea6109cec9ccfd1d94ba0ab9fdbf7bc

Fix T84515: Status bar is reporting the average solve error of the wrong tracking object

Reviewed By: sergey

Maniphest Tasks: T84515

Differential Revision: https://developer.blender.org/D10047

===================================================================

M	source/blender/editors/space_clip/tracking_ops_solve.c

===================================================================

diff --git a/source/blender/editors/space_clip/tracking_ops_solve.c b/source/blender/editors/space_clip/tracking_ops_solve.c
index 1ed965c30d2..b65dc909d5f 100644
--- a/source/blender/editors/space_clip/tracking_ops_solve.c
+++ b/source/blender/editors/space_clip/tracking_ops_solve.c
@@ -145,7 +145,7 @@ static void solve_camera_freejob(void *scv)
     BKE_reportf(scj->reports,
                 RPT_INFO,
                 "Average re-projection error: %.2f px",
-                tracking->reconstruction.error);
+                BKE_tracking_get_active_reconstruction(tracking)->error);
   }
 
   /* Set currently solved clip as active for scene. */



More information about the Bf-blender-cvs mailing list