Commit: a5409d2b5941a4292cc19f48cb8546e3ab91296f
Author: Jacques Lucke
Date:   Mon May 23 11:29:55 2022 +0200
Branches: blender-v3.2-release
https://developer.blender.org/rBa5409d2b5941a4292cc19f48cb8546e3ab91296f

Fix T98316: geometry nodes stop updating after duplication

This was a missing depsgraph update.

===================================================================

M       source/blender/editors/object/object_modifier.cc

===================================================================

diff --git a/source/blender/editors/object/object_modifier.cc 
b/source/blender/editors/object/object_modifier.cc
index eed0a63565e..963e92942bb 100644
--- a/source/blender/editors/object/object_modifier.cc
+++ b/source/blender/editors/object/object_modifier.cc
@@ -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;
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to