Fix: Toggling "lock layer" for GPencil layers in the dopesheet didn't update the layers UI

This commit is contained in:
Joshua Leung 2016-05-09 02:49:32 +12:00
parent c4a5c26a59
commit d6fd6d18d7
1 changed files with 3 additions and 0 deletions

View File

@ -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;