diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-30 01:23:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-30 01:23:58 +0300 |
commit | f448659a56210a093570bafa868a3a19761e67df (patch) | |
tree | f73bd1a4216685cb8ea9a7a3c2c957fcdefbd259 /source | |
parent | 3e499c1a3153619005e1e68acff01d1371cc971b (diff) |
Fix T46896: Outliner group 'hide' doesn't update viewport render
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |