Fix T85356: Dope Sheet not showing keyframes of Geometry Nodes graph

The animation filter wasn't following ID pointers to Node Trees yet.
This commit is contained in:
Sybren A. Stüvel
2021-02-04 18:56:34 +01:00
parent 2397ccc583
commit 0f893656f4

View File

@@ -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: