diff options
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index e42c154d865..61c671666c2 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -29,6 +29,7 @@ #include "BKE_image.h" #include "DEG_depsgraph.h" +#include "DEG_depsgraph_build.h" #include "RNA_access.h" #include "RNA_define.h" @@ -94,6 +95,7 @@ static void rna_Image_source_set(PointerRNA *ptr, int value) BKE_image_signal(G_MAIN, ima, NULL, IMA_SIGNAL_SRC_CHANGE); DEG_id_tag_update(&ima->id, 0); DEG_id_tag_update(&ima->id, ID_RECALC_EDITORS); + DEG_relations_tag_update(G_MAIN); } } |