Refactor: adding function to check if an animation container has grease pencil layer keyframes.

Used in action_select to refactor the selection operators.

No functional changes.

Reviewed By: Sybren A. Stüvel

Differential Revision: http://developer.blender.org/D16168
This commit is contained in:
2022-10-07 09:59:34 +02:00
parent 7eeeaec6da
commit 412d670e9c
3 changed files with 18 additions and 8 deletions

View File

@@ -519,6 +519,11 @@ void ANIM_animdata_update(bAnimContext *ac, ListBase *anim_data);
void ANIM_animdata_freelist(ListBase *anim_data);
/**
* Check if the given animation container can contain grease pencil layer keyframes.
*/
bool ANIM_animdata_can_have_greasepencil(const eAnimCont_Types type);
/* ************************************************ */
/* ANIMATION CHANNELS LIST */
/* anim_channels_*.c */