[Bf-blender-cvs] [2bbe84812a8] rigid_deform: pass inner indices to CholUp instead of anchors

Jacques Lucke noreply at git.blender.org
Thu Jan 31 19:56:15 CET 2019


Commit: 2bbe84812a815596d2612eb5f5e6ef7c278b08ec
Author: Jacques Lucke
Date:   Thu Jan 31 19:55:20 2019 +0100
Branches: rigid_deform
https://developer.blender.org/rB2bbe84812a815596d2612eb5f5e6ef7c278b08ec

pass inner indices to CholUp instead of anchors

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

M	source/blender/modifiers/intern/MOD_rigiddeform_system.cc

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

diff --git a/source/blender/modifiers/intern/MOD_rigiddeform_system.cc b/source/blender/modifiers/intern/MOD_rigiddeform_system.cc
index d826da3066d..ef2d3268746 100644
--- a/source/blender/modifiers/intern/MOD_rigiddeform_system.cc
+++ b/source/blender/modifiers/intern/MOD_rigiddeform_system.cc
@@ -177,7 +177,7 @@ namespace RigidDeform {
 
 #if USE_CHOLUP
 		CholUp::SparseMatrix<double> L(m_laplace_matrix);
-		std::vector<int> indices(anchor_indices.begin(), anchor_indices.end());
+		std::vector<int> indices(m_inner_indices.begin(), m_inner_indices.end());
 		m_solver_current = m_solver->dirichletPartialFactor(L, indices);
 #else
 		m_solver = std::unique_ptr<Solver>(new Solver());



More information about the Bf-blender-cvs mailing list