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:
parent
e3a06420b2
commit
a272eb38f4
Notes:
blender-bot
2023-02-14 02:30:11 +01:00
Referenced by issue #87167, Object dragged from Outliner into Geo Nodes doesn't auto update
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue