[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60135] branches/soc-2013-motion_track/ extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc: Scale all camera reconstructions to unity

Joseph Mansfield sftrabbit at gmail.com
Sat Sep 14 12:08:13 CEST 2013


Revision: 60135
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60135
Author:   sftrabbit
Date:     2013-09-14 10:08:13 +0000 (Sat, 14 Sep 2013)
Log Message:
-----------
Scale all camera reconstructions to unity

Modified Paths:
--------------
    branches/soc-2013-motion_track/extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc

Modified: branches/soc-2013-motion_track/extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc
===================================================================
--- branches/soc-2013-motion_track/extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc	2013-09-14 08:46:37 UTC (rev 60134)
+++ branches/soc-2013-motion_track/extern/libmv/libmv/simple_pipeline/reconstruction_scale.cc	2013-09-14 10:08:13 UTC (rev 60135)
@@ -24,7 +24,7 @@
 namespace libmv {
 
 void EuclideanScaleToUnity(EuclideanReconstruction *reconstruction) {
-  vector<EuclideanView> all_views = reconstruction->AllViewsForCamera(0);
+  vector<EuclideanView> all_views = reconstruction->AllViews();
   vector<EuclideanPoint> all_points = reconstruction->AllPoints();
 
   // Calculate center of the mass of all views.




More information about the Bf-blender-cvs mailing list