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:
authorSebastian Parborg <darkdefende@gmail.com>2019-04-05 17:28:34 +0300
committerSebastian Parborg <darkdefende@gmail.com>2019-04-05 17:31:19 +0300
commitd140e597a6a8f2bef8cbc2626effef41025b5688 (patch)
tree97b4f2bde9c34bc52f7e4e2c01833bca5307c3e3
parentdf99c54b5b84a13532a44db06187e1a494de8889 (diff)
Fix T63281: Drivers inside nodegroups inside nodegroups don't show up in Driver Editor
Recurse into node groups when looking for drivers. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4653
-rw-r--r--source/blender/editors/animation/anim_filter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index 17d74e8324f..dad0727a82d 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -1968,8 +1968,9 @@ static size_t animdata_filter_ds_nodetree(bAnimContext *ac, ListBase *anim_data,
if ((ads->filterflag & ADS_FILTER_ONLYSEL) && (node->flag & NODE_SELECT) == 0) {
continue;
}
- items += animdata_filter_ds_nodetree_group(ac, anim_data, ads, owner_id, (bNodeTree *) node->id,
- filter_mode | ANIMFILTER_TMP_IGNORE_ONLYSEL);
+ /* Recurse into the node group */
+ items += animdata_filter_ds_nodetree(ac, anim_data, ads, owner_id, (bNodeTree *) node->id,
+ filter_mode | ANIMFILTER_TMP_IGNORE_ONLYSEL);
}
}
}