[Bf-blender-cvs] [89effac57e0] master: Fix T101851: Duplicating a particle system crashes
Sergey Sharybin
noreply at git.blender.org
Mon Oct 17 11:03:53 CEST 2022
Commit: 89effac57e057249b787454191b95be392633ecf
Author: Sergey Sharybin
Date: Mon Oct 17 11:02:13 2022 +0200
Branches: master
https://developer.blender.org/rB89effac57e057249b787454191b95be392633ecf
Fix T101851: Duplicating a particle system crashes
===================================================================
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 71ed32caede..4986ed8f343 100644
--- a/source/blender/editors/physics/particle_object.c
+++ b/source/blender/editors/physics/particle_object.c
@@ -1204,9 +1204,7 @@ static bool copy_particle_systems_to_object(const bContext *C,
#undef PSYS_FROM_FIRST
#undef PSYS_FROM_NEXT
- if (duplicate_settings) {
- DEG_relations_tag_update(bmain);
- }
+ DEG_relations_tag_update(bmain);
DEG_id_tag_update(&ob_to->id, ID_RECALC_GEOMETRY);
WM_main_add_notifier(NC_OBJECT | ND_PARTICLE | NA_EDITED, ob_to);
return true;
More information about the Bf-blender-cvs
mailing list