Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Blackbourn <chrisbblend@gmail.com>2022-06-09 08:39:56 +0300
committerChris Blackbourn <chrisbblend@gmail.com>2022-06-09 08:39:56 +0300
commit38bfa53081e953fd8c9894dd5f057fa8b62c5fc8 (patch)
tree42f1f5f1a2dbeea9d28f98d6a4c4cea363ffb55f
parent0926495de40d45a02ee7a4ffeff9e2cac5436e4c (diff)
Fix T78815: Redraw UV Editor on collection visibility change
-rw-r--r--source/blender/makesrna/intern/rna_layer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_layer.c b/source/blender/makesrna/intern/rna_layer.c
index 8c9c66bffcf..6ab9d3a46ad 100644
--- a/source/blender/makesrna/intern/rna_layer.c
+++ b/source/blender/makesrna/intern/rna_layer.c
@@ -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)