diff options
author | Amelie Fondevilla <amelie.fondevilla@les-fees-speciales.coop> | 2022-10-07 12:44:27 +0300 |
---|---|---|
committer | Amelie Fondevilla <amelie.fondevilla@les-fees-speciales.coop> | 2022-10-07 12:44:27 +0300 |
commit | f7a781d45fcc79844c4d7fc8a17ede3d6cfc1eaf (patch) | |
tree | 1dd463ddad8f86d119ba166d6f3d8c5ae7910d8f | |
parent | 87ef423e6ebdb90e0e8937b7e749d470a000b3e4 (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.c | 2 |
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 302e50e64d7..8fd3c319452 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -419,7 +419,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); } /* ************************************************************ */ |