diff options
author | lazydodo <github@lazydodo.com> | 2016-11-15 23:21:01 +0300 |
---|---|---|
committer | lazydodo <github@lazydodo.com> | 2016-11-15 23:21:01 +0300 |
commit | 0de157a3204206a5d0d90daa00e7c6648e3c9674 (patch) | |
tree | b6715c76c14b197e86891b9d396763c8eba9ec11 /intern/iksolver | |
parent | 44b691dc658db9d4ae0993546abe559223146b67 (diff) |
FIX T49899: Add EIGEN_MAKE_ALIGNED_OPERATOR_NEW to classes that use eigen's data types , to force aligned on 16 byte boundaries.
Diffstat (limited to 'intern/iksolver')
-rw-r--r-- | intern/iksolver/intern/IK_QSegment.h | 1 | ||||
-rw-r--r-- | intern/iksolver/intern/IK_Solver.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/intern/iksolver/intern/IK_QSegment.h b/intern/iksolver/intern/IK_QSegment.h index 74f157aa763..247807dc5e0 100644 --- a/intern/iksolver/intern/IK_QSegment.h +++ b/intern/iksolver/intern/IK_QSegment.h @@ -60,6 +60,7 @@ class IK_QSegment { public: + EIGEN_MAKE_ALIGNED_OPERATOR_NEW virtual ~IK_QSegment(); // start: a user defined translation diff --git a/intern/iksolver/intern/IK_Solver.cpp b/intern/iksolver/intern/IK_Solver.cpp index cefb8c7ed7b..a00db4fa2f5 100644 --- a/intern/iksolver/intern/IK_Solver.cpp +++ b/intern/iksolver/intern/IK_Solver.cpp @@ -42,6 +42,7 @@ using namespace std; class IK_QSolver { public: + EIGEN_MAKE_ALIGNED_OPERATOR_NEW IK_QSolver() : root(NULL) { } |