diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-02-04 20:56:34 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-02-04 20:56:41 +0300 |
commit | 0f893656f4d1c389fb67c4015d351c7156c19ca3 (patch) | |
tree | c8bbde1bc690ad191048f5bce2ad864d9b7ddd95 | |
parent | 2397ccc583afbd908e54237f29c80bbc99b43740 (diff) |
Fix T85356: Dope Sheet not showing keyframes of Geometry Nodes graph
The animation filter wasn't following ID pointers to Node Trees yet.
-rw-r--r-- | source/blender/editors/animation/anim_filter.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index f2022194ed5..a03f19d0111 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -2403,6 +2403,13 @@ static void animfilter_modifier_idpoin_cb(void *afm_ptr, } break; } + case ID_NT: { + bNodeTree *node_tree = (bNodeTree *)id; + if (!(afm->ads->filterflag & ADS_FILTER_NONTREE)) { + afm->items += animdata_filter_ds_nodetree( + afm->ac, &afm->tmp_data, afm->ads, owner_id, node_tree, afm->filter_mode); + } + } /* TODO: images? */ default: |