Fix #136041: NLA Strip Influence keyframes not appearing in tweak mode

Fix the `ANIMDATA_FILTER_CASES` macro, so that layered/slotted Actions
no longer take precedence over NLA control curves. Now they're handled
with the same priority as legacy Actions were.

Pull Request: https://projects.blender.org/blender/blender/pulls/136072
This commit is contained in:
Sybren A. Stüvel
2025-03-17 11:42:42 +01:00
parent 23de65afab
commit 7ca64d953c

View File

@@ -517,14 +517,14 @@ bool ANIM_animdata_can_have_greasepencil(const eAnimCont_Types type)
driversOk \
} \
} \
else if (ANIMDATA_HAS_ACTION_LAYERED(id)) { \
layeredActionOk \
} \
else { \
if (ANIMDATA_HAS_NLA(id)) { \
nlaKeysOk \
} \
if (ANIMDATA_HAS_ACTION_LEGACY(id)) { \
if (ANIMDATA_HAS_ACTION_LAYERED(id)) { \
layeredActionOk \
} \
else if (ANIMDATA_HAS_ACTION_LEGACY(id)) { \
legacyActionOk \
} \
} \