diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-03-12 13:41:47 +0300 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-03-12 13:41:47 +0300 |
commit | 51c58f3ca2dd86ed0382997f46f36a8686b427a7 (patch) | |
tree | f4a287f764b1ef23fced32a59188b5d88eba7a59 /source/blender/blenkernel/intern/cloth.c | |
parent | 4c6ff955ed21dd273c12e2c76b9edaf57508dac3 (diff) |
Bugfix for wrong initial cloth settings pretending to be cotton
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
-rw-r--r-- | source/blender/blenkernel/intern/cloth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/cloth.c b/source/blender/blenkernel/intern/cloth.c index d7dc96abfac..3d5de19c1fc 100644 --- a/source/blender/blenkernel/intern/cloth.c +++ b/source/blender/blenkernel/intern/cloth.c @@ -144,12 +144,12 @@ void cloth_init ( ClothModifierData *clmd ) clmd->sim_parms->gravity [0] = 0.0; clmd->sim_parms->gravity [1] = 0.0; clmd->sim_parms->gravity [2] = -9.81; - clmd->sim_parms->structural = 30.0; - clmd->sim_parms->shear = 30.0; - clmd->sim_parms->bending = 1.0; - clmd->sim_parms->Cdis = 1.0; // was 5 + clmd->sim_parms->structural = 15.0; + clmd->sim_parms->shear = 15.0; + clmd->sim_parms->bending = 0.5; + clmd->sim_parms->Cdis = 5.0; clmd->sim_parms->Cvi = 1.0; - clmd->sim_parms->mass = 1.0f; + clmd->sim_parms->mass = 0.3f; clmd->sim_parms->stepsPerFrame = 5; clmd->sim_parms->sim_time = 1.0; clmd->sim_parms->flags = CLOTH_SIMSETTINGS_FLAG_AUTOPROTECT; |