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 12:44:27 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-10-26 10:44:09 +0300
commit567e3f650836ef060912c540013eb8fa0f447fe6 (patch)
tree46e460455295166949d8f58a9051265ab340f18c
parent0b45d3e3866225d0277cc8af483f0ad1d589420e (diff)
Fix T101547: Add update notifiers in dopesheet and timeline selection operators
Updates the function checking if a container can have grease pencil layer keyframes, to account for dopesheet in main mode, and timeline. Reviewed By: Sybren A. Stüvel Differential Revision: http://developer.blender.org/D16132
-rw-r--r--source/blender/editors/animation/anim_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index e5deb03358f..6f19c30a6d8 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -416,7 +416,7 @@ bool ANIM_animdata_get_context(const bContext *C, bAnimContext *ac)
bool ANIM_animdata_can_have_greasepencil(const eAnimCont_Types type)
{
- return type == ANIMCONT_GPENCIL;
+ return ELEM(type, ANIMCONT_GPENCIL, ANIMCONT_DOPESHEET, ANIMCONT_TIMELINE);
}
/* ************************************************************ */