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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user