[Bf-blender-cvs] [f4f302d] depsgraph_refactor: Depsgraph Fix: build_animdata() for relations was already called for obdata, so no need to repeat in build_rig()

Joshua Leung noreply at git.blender.org
Fri Jan 2 05:15:25 CET 2015


Commit: f4f302dd8175a37ac1c24685f762ff7dd1022196
Author: Joshua Leung
Date:   Fri Jan 2 17:13:14 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rBf4f302dd8175a37ac1c24685f762ff7dd1022196

Depsgraph Fix: build_animdata() for relations was already called for obdata, so no need to repeat in build_rig()

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

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

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
index 81dfbec..d0da529 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -1033,15 +1033,9 @@ void DepsgraphRelationBuilder::build_splineik_pose(Object *ob,
 /* Pose/Armature Bones Graph */
 void DepsgraphRelationBuilder::build_rig(Scene *scene, Object *ob)
 {
-	bArmature *arm = (bArmature *)ob->data;
-	
 	/* Armature-Data */
 	// TODO: selection status?
 	
-	/* animation and/or drivers linking posebones to base-armature used to define them */
-	// TODO: we need a bit of an exception here to redirect drivers to posebones?
-	build_animdata(&arm->id);
-	
 	/* attach links between pose operations */
 	OperationKey init_key(&ob->id, DEPSNODE_TYPE_EVAL_POSE, DEG_OPCODE_POSE_INIT);
 	OperationKey flush_key(&ob->id, DEPSNODE_TYPE_EVAL_POSE, DEG_OPCODE_POSE_DONE);




More information about the Bf-blender-cvs mailing list