From 15c524e416435621c20a82f64541a22dfa880fc3 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Tue, 5 Mar 2013 22:58:13 +0000 Subject: [PATCH] Bugfix [#34519] deleted cache after duplicating an object with baked simulation --- source/blender/modifiers/intern/MOD_cloth.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/blender/modifiers/intern/MOD_cloth.c b/source/blender/modifiers/intern/MOD_cloth.c index 54f3efcc84c..808dfbae810 100644 --- a/source/blender/modifiers/intern/MOD_cloth.c +++ b/source/blender/modifiers/intern/MOD_cloth.c @@ -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; }