Fix T101851: Duplicating a particle system crashes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user