forked from bartvdbraak/blender
Bugfix [#34710] Crash on duplicating object with cloth modifier.
Caused by last commit by me.
This commit is contained in:
parent
808ac6debf
commit
b5ac9639dc
@ -155,6 +155,7 @@ static void copyData(ModifierData *md, ModifierData *target)
|
||||
if (clmd->sim_parms->effector_weights)
|
||||
tclmd->sim_parms->effector_weights = MEM_dupallocN(clmd->sim_parms->effector_weights);
|
||||
tclmd->coll_parms = MEM_dupallocN(clmd->coll_parms);
|
||||
tclmd->point_cache = BKE_ptcache_add(&tclmd->ptcaches);
|
||||
tclmd->clothObject = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user