[Bf-blender-cvs] [52e81de9f72] master: Depsgraph: Don't see reason to have special case for bone's RNA path

Sergey Sharybin noreply at git.blender.org
Wed Dec 6 10:32:28 CET 2017


Commit: 52e81de9f72d27973587ed7dfe429ce09b9a10db
Author: Sergey Sharybin
Date:   Mon Dec 4 16:58:02 2017 +0100
Branches: master
https://developer.blender.org/rB52e81de9f72d27973587ed7dfe429ce09b9a10db

Depsgraph: Don't see reason to have special case for bone's RNA path

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

M	source/blender/depsgraph/intern/builder/deg_builder_relations.cc

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

diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 0d78192a2ef..8161e646564 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -1132,7 +1132,7 @@ void DepsgraphRelationBuilder::build_driver(ID *id, FCurve *fcu)
 				                        DEG_OPCODE_TRANSFORM_FINAL);
 				add_relation(target_key, driver_key, "Target -> Driver");
 			}
-			else if (dtar->rna_path && strstr(dtar->rna_path, "pose.bones[")) {
+			else if (dtar->rna_path) {
 				RNAPathKey variable_key(dtar->id, dtar->rna_path);
 				if (RNA_pointer_is_null(&variable_key.ptr)) {
 					continue;



More information about the Bf-blender-cvs mailing list