From f448659a56210a093570bafa868a3a19761e67df Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 30 Nov 2015 09:23:58 +1100 Subject: Fix T46896: Outliner group 'hide' doesn't update viewport render --- source/blender/editors/space_outliner/outliner_draw.c | 1 + 1 file changed, 1 insertion(+) (limited to '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 fd1eb129c51..14f397f61fe 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) { -- cgit v1.2.3