Fix T78815: Redraw UV Editor on collection visibility change

This commit is contained in:
Chris Blackbourn 2022-06-09 17:39:56 +12:00
parent 0926495de4
commit 38bfa53081
Notes: blender-bot 2024-03-25 12:30:38 +01:00
Referenced by issue #78815, Cannot edit (or see) UVs on an object in a globally hidden collection
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ static void rna_LayerCollection_update(Main *UNUSED(bmain), Scene *UNUSED(scene)
DEG_id_tag_update(&scene->id, ID_RECALC_BASE_FLAGS);
WM_main_add_notifier(NC_SCENE | ND_LAYER_CONTENT, NULL);
WM_main_add_notifier(NC_IMAGE | ND_LAYER_CONTENT, NULL);
}
static bool rna_LayerCollection_has_objects(LayerCollection *lc)