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:
authorJacques Lucke <jacques@blender.org>2022-02-10 19:32:16 +0300
committerJacques Lucke <jacques@blender.org>2022-02-10 19:32:16 +0300
commit2cd1472f86dd0c3f8792f8d28b1238f9dffb3739 (patch)
treef12eedbb69cb5b426b8ff585390f09275c7fe737 /source/blender/makesrna
parent9a2b206639364fcc696b44879a715eaacc60347a (diff)
parent720d653b418bb5760c5891a2c8b74b72ea9889a9 (diff)
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_image.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c
index af13baad5a2..9edd52762ea 100644
--- a/source/blender/makesrna/intern/rna_image.c
+++ b/source/blender/makesrna/intern/rna_image.c
@@ -27,6 +27,7 @@
#include "BLI_utildefines.h"
#include "BKE_image.h"
+#include "BKE_node_tree_update.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"
@@ -167,7 +168,8 @@ static void rna_ImageUser_update(Main *bmain, Scene *scene, PointerRNA *ptr)
if (id) {
if (GS(id->name) == ID_NT) {
- /* Special update for nodetrees to find parent datablock. */
+ /* Special update for nodetrees. */
+ BKE_ntree_update_tag_image_user_changed((bNodeTree *)id, iuser);
ED_node_tree_propagate_change(NULL, bmain, NULL);
}
else {