[Bf-blender-cvs] [8941202] master: Fix T43669: Grease Pencil visibility toggle not working in Outliner

Julian Eisel noreply at git.blender.org
Tue Feb 17 02:12:39 CET 2015


Commit: 89412028cefd9454b12f3ddf6580a8d1414b58c7
Author: Julian Eisel
Date:   Tue Feb 17 02:08:12 2015 +0100
Branches: master
https://developer.blender.org/rB89412028cefd9454b12f3ddf6580a8d1414b58c7

Fix T43669: Grease Pencil visibility toggle not working in Outliner

===================================================================

M	source/blender/editors/space_outliner/outliner_draw.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index be10843..2c61e69 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)




More information about the Bf-blender-cvs mailing list