Fix T46896: Outliner group 'hide' doesn't update viewport render
This commit is contained in:
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.
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue