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:
authorJoshua Leung <aligorith@gmail.com>2016-05-08 17:49:32 +0300
committerJoshua Leung <aligorith@gmail.com>2016-05-08 17:49:32 +0300
commitd6fd6d18d763166ee84d5512522f15c81cc79363 (patch)
treef88f218ca17eef89b554d560a25356c6b5dda995 /source/blender/editors/animation/anim_channels_defines.c
parentc4a5c26a59b368640b530ba30019ee1724f81150 (diff)
Fix: Toggling "lock layer" for GPencil layers in the dopesheet didn't update the layers UI
Diffstat (limited to 'source/blender/editors/animation/anim_channels_defines.c')
-rw-r--r--source/blender/editors/animation/anim_channels_defines.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index 9d54fd8f730..ea2f7fc5588 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -3818,6 +3818,9 @@ static void achannel_setting_flush_widget_cb(bContext *C, void *ale_npoin, void
/* send notifiers before doing anything else... */
WM_event_add_notifier(C, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL);
+ if (ale_setting->type == ANIMTYPE_GPLAYER)
+ WM_event_add_notifier(C, NC_GPENCIL | ND_DATA, NULL);
+
/* verify animation context */
if (ANIM_animdata_get_context(C, &ac) == 0)
return;