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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to