diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-02-13 13:44:36 +0300 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-02-13 13:44:36 +0300 |
commit | 31922633670f03ceb2e963984e418fecd1a59d40 (patch) | |
tree | 0065c9a0f2b528a2e0c206d1a6a08e87a398636d /source/blender/blenkernel/intern/cloth.c | |
parent | 5c7f41118cc71f44f4aec59d5d4acdee78ddae68 (diff) |
Cloth: changes in editmode will influence the velocity by 10% now, changed/add some update calls for the implicit function
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
-rw-r--r-- | source/blender/blenkernel/intern/cloth.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/cloth.c b/source/blender/blenkernel/intern/cloth.c index ecd478be8fd..802e14b683f 100644 --- a/source/blender/blenkernel/intern/cloth.c +++ b/source/blender/blenkernel/intern/cloth.c @@ -1112,6 +1112,9 @@ static int cloth_from_object(Object *ob, ClothModifierData *clmd, DerivedMesh *d // init our solver if ( solvers [clmd->sim_parms->solver_type].init ) solvers [clmd->sim_parms->solver_type].init ( ob, clmd ); + + if(cache_there) + implicit_set_positions(clmd); clmd->clothObject->tree = bvh_build_from_cloth ( clmd, clmd->coll_parms->epsilon ); |