Commit: 11bb38e887d29635498fb184f6434144546e9fb4
Author: Sergey Sharybin
Date:   Mon Oct 17 11:03:21 2022 +0200
Branches: master
https://developer.blender.org/rB11bb38e887d29635498fb184f6434144546e9fb4

Make sure all dependency graphs are updated on particles system copy

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

M       source/blender/editors/physics/particle_object.c

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

diff --git a/source/blender/editors/physics/particle_object.c 
b/source/blender/editors/physics/particle_object.c
index 4986ed8f343..210757173eb 100644
--- a/source/blender/editors/physics/particle_object.c
+++ b/source/blender/editors/physics/particle_object.c
@@ -1267,8 +1267,7 @@ static int copy_particle_systems_exec(bContext *C, 
wmOperator *op)
   CTX_DATA_END;
 
   if (changed_tot > 0) {
-    Depsgraph *depsgraph = CTX_data_depsgraph_pointer(C);
-    DEG_graph_tag_relations_update(depsgraph);
+    DEG_relations_tag_update(CTX_data_main(C));
   }
 
   if ((changed_tot == 0 && fail == 0) || fail) {

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

Reply via email to