[Bf-blender-cvs] [c913570] depsgraph_refactor: Fix for ik eval operation: this is added to bone components, so has to be declared a bone operation as well.

Lukas Tönne noreply at git.blender.org
Mon May 26 10:43:55 CEST 2014


Commit: c913570d4b3b513a7496a218373d078040c7ca22
Author: Lukas Tönne
Date:   Mon May 26 10:02:13 2014 +0200
https://developer.blender.org/rBc913570d4b3b513a7496a218373d078040c7ca22

Fix for ik eval operation: this is added to bone components, so has to
be declared a bone operation as well.

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

M	source/blender/depsgraph/intern/depsgraph_build_nodes.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
index 65d666f..4d69f3c 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
@@ -518,7 +518,7 @@ void DepsgraphNodeBuilder::build_ik_pose(ComponentDepsNode *bone_node, Object *o
 	}
 	
 	/* operation node for evaluating/running IK Solver */
-	add_operation_node(bone_node, DEPSNODE_TYPE_OP_POSE,
+	add_operation_node(bone_node, DEPSNODE_TYPE_OP_BONE,
 	                   DEPSOP_TYPE_SIM, BKE_pose_iktree_evaluate, 
 	                   deg_op_name_ik_solver, make_rna_pointer(ob, &RNA_PoseBone, rootchan));
 }




More information about the Bf-blender-cvs mailing list