diff options
author | Matt Ebb <matt@mke3.net> | 2009-12-11 03:09:58 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-12-11 03:09:58 +0300 |
commit | 98dff9b1c71b6936621641897589f1fb59220312 (patch) | |
tree | 851835e56c7a1acc1f5bfa67590c173257deaf48 /source/blender/blenkernel/intern/cloth.c | |
parent | 8b32402f381e22928390188144b1ab89aac55cd4 (diff) |
For for [#20330] Can't open a file made in 2.49
Hair clothsim internal_friction wasn't being initialised correctly.
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
-rw-r--r-- | source/blender/blenkernel/intern/cloth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/cloth.c b/source/blender/blenkernel/intern/cloth.c index 6c4c7daea7f..dc9a70f2767 100644 --- a/source/blender/blenkernel/intern/cloth.c +++ b/source/blender/blenkernel/intern/cloth.c @@ -154,6 +154,7 @@ void cloth_init ( ClothModifierData *clmd ) clmd->sim_parms->defgoal = 0.0f; clmd->sim_parms->goalspring = 1.0f; clmd->sim_parms->goalfrict = 0.0f; + clmd->sim_parms->velocity_smooth = 0.0f; if(!clmd->sim_parms->effector_weights) clmd->sim_parms->effector_weights = BKE_add_effector_weights(NULL); |