Commit: d46f43920796f8a1c7bffc311a07e44f727b20e8
Author: Lukas Tönne
Date:   Wed Apr 16 11:56:46 2014 +0200
https://developer.blender.org/rBd46f43920796f8a1c7bffc311a07e44f727b20e8

Fix for RNAPathKey usage: strings can not be NULL.

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

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 486f921..d577830 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -431,7 +431,7 @@ void DepsgraphRelationBuilder::build_driver(IDPtr id, 
FCurve *fcurve)
                        }
                        else {
                                /* resolve path to get node */
-                               RNAPathKey target_key(dtar->id, dtar->rna_path);
+                               RNAPathKey target_key(dtar->id, dtar->rna_path 
? dtar->rna_path : "");
                                add_relation(target_key, driver_key, 
DEPSREL_TYPE_DRIVER_TARGET,
                                             "[Target -> Driver] DepsRel");
                        }

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

Reply via email to