Fix T100980: Missing deg update when duplicating a geometry nodetree in node editor.

Tagging depsgraph for relation rebuild does not replace tagging IDs for update.
This commit is contained in:
Bastien Montagne
2022-09-13 16:40:57 +02:00
parent 109cc14dba
commit d88811aed3

View File

@@ -3397,6 +3397,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_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
DEG_relations_tag_update(bmain);
WM_event_add_notifier(C, NC_OBJECT | ND_MODIFIER, ob);
return OPERATOR_FINISHED;