Anim: implement 'only show selected' filter on slotted Actions

Implement the 'Only Show Selected' filter option of the Dope Sheet for
slotted Actions.

Pull Request: https://projects.blender.org/blender/blender/pulls/125656
This commit is contained in:
Sybren A. Stüvel
2024-07-30 13:07:12 +02:00
parent c5c5383701
commit 6e9731cb47

View File

@@ -1373,6 +1373,9 @@ static size_t animfilter_fcurves_span(bAnimContext *ac,
if (show_only_errors && !fcurve_has_errors(ac, fcu)) {
continue;
}
if (skip_fcurve_selected_data(ac, fcu, animated_id, filter_mode)) {
continue;
}
if (filter_mode & ANIMFILTER_TMP_PEEK) {
/* Found an animation channel, which is good enough for the 'TMP_PEEK' mode. */