Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-04 18:58:02 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-06 12:21:32 +0300
commit52e81de9f72d27973587ed7dfe429ce09b9a10db (patch)
tree3ecb29d5465381785b66d3997d2733eb29057b98 /source/blender/depsgraph
parent97e92d6f3ecb5a5b40f97701b72a91392052cbf2 (diff)
Depsgraph: Don't see reason to have special case for bone's RNA path
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc2
1 files changed, 1 insertions, 1 deletions
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;