[Bf-blender-cvs] [8e0cdfd0c91] master: Libmv: Correction to previous commit

Sergey Sharybin noreply at git.blender.org
Fri Apr 7 17:58:08 CEST 2017


Commit: 8e0cdfd0c916e30b1496d0632e824042e9406cd5
Author: Sergey Sharybin
Date:   Fri Apr 7 17:57:48 2017 +0200
Branches: master
https://developer.blender.org/rB8e0cdfd0c916e30b1496d0632e824042e9406cd5

Libmv: Correction to previous commit

We do need to make a copy of the values.

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

M	intern/libmv/libmv/multiview/homography.cc

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

diff --git a/intern/libmv/libmv/multiview/homography.cc b/intern/libmv/libmv/multiview/homography.cc
index a7679c33bbf..69177743f94 100644
--- a/intern/libmv/libmv/multiview/homography.cc
+++ b/intern/libmv/libmv/multiview/homography.cc
@@ -209,8 +209,10 @@ class HomographySymmetricGeometricCostFunctor {
     return true;
   }
 
-  const Vec2 &x_;
-  const Vec2 &y_;
+  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
+
+  const Vec2 x_;
+  const Vec2 y_;
 };
 
 // Termination checking callback used for homography estimation.




More information about the Bf-blender-cvs mailing list