Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmelie Fondevilla <amelie.fondevilla@les-fees-speciales.coop>2022-10-07 10:59:34 +0300
committerAmelie Fondevilla <amelie.fondevilla@les-fees-speciales.coop>2022-10-07 12:07:02 +0300
commit412d670e9c581dcafccd950d661611b6a496299c (patch)
treec879ac1401d11d49066e29926ee6a0a79ef29772 /source/blender/editors/include
parent7eeeaec6da33971ab7805c9a4bfd5f4e186273d1 (diff)
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
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_anim_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h
index 6079aca0199..8fe2d0ae60f 100644
--- a/source/blender/editors/include/ED_anim_api.h
+++ b/source/blender/editors/include/ED_anim_api.h
@@ -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 */