[Bf-blender-cvs] [38bfa53081e] master: Fix T78815: Redraw UV Editor on collection visibility change
Chris Blackbourn
noreply at git.blender.org
Thu Jun 9 07:41:16 CEST 2022
Commit: 38bfa53081e953fd8c9894dd5f057fa8b62c5fc8
Author: Chris Blackbourn
Date: Thu Jun 9 17:39:56 2022 +1200
Branches: master
https://developer.blender.org/rB38bfa53081e953fd8c9894dd5f057fa8b62c5fc8
Fix T78815: Redraw UV Editor on collection visibility change
===================================================================
M source/blender/makesrna/intern/rna_layer.c
===================================================================
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)
More information about the Bf-blender-cvs
mailing list