Fix T98316: geometry nodes stop updating after duplication
This was a missing depsgraph update.
This commit is contained in:
parent
c4e5a7d59a
commit
a5409d2b59
Notes:
blender-bot
2023-02-14 11:34:30 +01:00
Referenced by issue #98316, Regression: Geometry Node Tree Stop Update Upon Duplication
|
@ -3399,6 +3399,7 @@ static int geometry_node_tree_copy_assign_exec(bContext *C, wmOperator *UNUSED(o
|
|||
nmd->node_group = new_tree;
|
||||
id_us_min(&tree->id);
|
||||
|
||||
DEG_relations_tag_update(bmain);
|
||||
WM_event_add_notifier(C, NC_OBJECT | ND_MODIFIER, ob);
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue