Bugfix [#34519] deleted cache after duplicating an object with baked simulation

This commit is contained in:
Daniel Genrich 2013-03-05 22:58:13 +00:00
parent f840ac9801
commit 15c524e416

@ -155,7 +155,6 @@ 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_copy_list(&tclmd->ptcaches, &clmd->ptcaches, FALSE);
tclmd->clothObject = NULL;
}