diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-10-17 12:03:21 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-10-17 12:03:21 +0300 |
commit | 11bb38e887d29635498fb184f6434144546e9fb4 (patch) | |
tree | 4b7dddb13022e60772de961f0241aa92a3b74114 | |
parent | 89effac57e057249b787454191b95be392633ecf (diff) |
Make sure all dependency graphs are updated on particles system copy
-rw-r--r-- | source/blender/editors/physics/particle_object.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |