[Bf-blender-cvs] [d9965a6] depsgraph_refactor: Depsgraph: Corrected dependency between animation data and driver

Sergey Sharybin noreply at git.blender.org
Wed Feb 11 15:28:17 CET 2015


Commit: d9965a6f897962cfd7c4f0c362cf161d547896ec
Author: Sergey Sharybin
Date:   Wed Feb 11 19:27:43 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rBd9965a6f897962cfd7c4f0c362cf161d547896ec

Depsgraph: Corrected dependency between animation data and driver

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

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 ee68cef..6ee22f2 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -574,7 +574,7 @@ void DepsgraphRelationBuilder::build_animdata(ID *id)
 	
 	/* drivers */
 	for (FCurve *fcu = (FCurve *)adt->drivers.first; fcu; fcu = fcu->next) {
-		OperationKey driver_key(id, DEPSNODE_TYPE_PARAMETERS, DEG_OPCODE_DRIVER, fcu->rna_path);
+		OperationKey driver_key(id, DEPSNODE_TYPE_PARAMETERS, DEG_OPCODE_DRIVER, deg_fcurve_id_name(fcu));
 		
 		/* create the driver's relations to targets */
 		build_driver(id, fcu);




More information about the Bf-blender-cvs mailing list