Commit: f448659a56210a093570bafa868a3a19761e67df
Author: Campbell Barton
Date:   Mon Nov 30 09:23:58 2015 +1100
Branches: master
https://developer.blender.org/rBf448659a56210a093570bafa868a3a19761e67df

Fix T46896: Outliner group 'hide' doesn't update viewport render

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

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 fd1eb12..14f397f 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -434,6 +434,7 @@ static void restrictbutton_gr_restrict_view(bContext *C, 
void *poin, void *poin2
 {
        restrictbutton_gr_restrict_flag(poin, poin2, OB_RESTRICT_VIEW);
        WM_event_add_notifier(C, NC_GROUP, NULL);
+       DAG_id_type_tag(CTX_data_main(C), ID_OB);
 }
 static void restrictbutton_gr_restrict_select(bContext *C, void *poin, void 
*poin2)
 {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to