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

This commit is contained in:
Campbell Barton 2015-11-30 09:23:58 +11:00
parent 3e499c1a31
commit f448659a56
Notes: blender-bot 2023-02-14 08:24:05 +01:00
Referenced by issue #46896, Changing Group visibility in the Outliner doen't update viewport in render mode.
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{