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:
authorCharlie Jolly <mistajolly@gmail.com>2021-04-09 17:10:27 +0300
committerCharlie Jolly <mistajolly@gmail.com>2021-04-09 18:05:12 +0300
commita272eb38f433464e157b8370c78ed3b88ef8357c (patch)
treede5a42edd3fd330c759090d81acc98826575444b /source/blender/editors/space_node
parente3a06420b21e8260af96a6b25ba945c5a8fd6d2d (diff)
Fix T87167: Object dragged from Outliner into Geo Nodes doesn't auto update
Add call to `DEG_relations_tag_update` Differential Revision: https://developer.blender.org/D10928
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_add.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_add.c b/source/blender/editors/space_node/node_add.c
index c4fe9e9e531..82a315366dc 100644
--- a/source/blender/editors/space_node/node_add.c
+++ b/source/blender/editors/space_node/node_add.c
@@ -41,6 +41,8 @@
#include "BKE_scene.h"
#include "BKE_texture.h"
+#include "DEG_depsgraph_build.h"
+
#include "ED_node.h" /* own include */
#include "ED_render.h"
#include "ED_screen.h"
@@ -473,6 +475,7 @@ static int node_add_object_exec(bContext *C, wmOperator *op)
snode_dag_update(C, snode);
ED_node_tag_update_nodetree(bmain, ntree, object_node);
+ DEG_relations_tag_update(bmain);
return OPERATOR_FINISHED;
}