From 89412028cefd9454b12f3ddf6580a8d1414b58c7 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Tue, 17 Feb 2015 02:08:12 +0100 Subject: Fix T43669: Grease Pencil visibility toggle not working in Outliner --- source/blender/editors/space_outliner/outliner_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_outliner') diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index be108432f0f..2c61e69d611 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -353,7 +353,7 @@ static void restrictbutton_ebone_visibility_cb(bContext *C, void *UNUSED(poin), static void restrictbutton_gp_layer_flag_cb(bContext *C, void *UNUSED(poin), void *UNUSED(poin2)) { - WM_event_add_notifier(C, NC_GPENCIL | ND_DATA, NULL); + WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED, NULL); } static int group_restrict_flag(Group *gr, int flag) -- cgit v1.2.3