[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56325] trunk/blender/extern/libmv/libmv/ simple_pipeline/bundle.cc: Revert 56319, misunderstood API

Sergey Sharybin sergey.vfx at gmail.com
Fri Apr 26 20:25:50 CEST 2013


Revision: 56325
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56325
Author:   nazgul
Date:     2013-04-26 18:25:49 +0000 (Fri, 26 Apr 2013)
Log Message:
-----------
Revert 56319, misunderstood API

This was completely skipping BA step when point
goes behind the camera.

Modified Paths:
--------------
    trunk/blender/extern/libmv/libmv/simple_pipeline/bundle.cc

Modified: trunk/blender/extern/libmv/libmv/simple_pipeline/bundle.cc
===================================================================
--- trunk/blender/extern/libmv/libmv/simple_pipeline/bundle.cc	2013-04-26 18:12:05 UTC (rev 56324)
+++ trunk/blender/extern/libmv/libmv/simple_pipeline/bundle.cc	2013-04-26 18:25:49 UTC (rev 56325)
@@ -83,10 +83,6 @@
     x[1] += R_t[4];
     x[2] += R_t[5];
 
-    // Prevent bundles from being moved behind the camera.
-    if (x[2] < T(0))
-      return false;
-
     // Compute normalized coordinates: x /= x[2].
     T xn = x[0] / x[2];
     T yn = x[1] / x[2];




More information about the Bf-blender-cvs mailing list