diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-09-12 17:48:59 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:00 +0300 |
commit | 3007fc6eb7612238d39962229bfac657e56cab02 (patch) | |
tree | 07d06108509169f13a8a97dffab80a03ea1209f5 /source/blender/blenkernel/intern/implicit.c | |
parent | 8532cf206e21eb59743bf8de79d236fbd132c3ea (diff) |
Revert "Ignore velocity changes when the cloth solver does not converge."
This reverts commit c52b8ae818844965d56714a71255408873275dc1.
Sadly, at this point solver convergence is an exception rather than the
rule... Individual hairs can "explode" easily and thus disable the whole
simulation, which isn't helpful either.
Diffstat (limited to 'source/blender/blenkernel/intern/implicit.c')
-rw-r--r-- | source/blender/blenkernel/intern/implicit.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/implicit.c b/source/blender/blenkernel/intern/implicit.c index 54fb7e2571b..f60a0ccac82 100644 --- a/source/blender/blenkernel/intern/implicit.c +++ b/source/blender/blenkernel/intern/implicit.c @@ -2430,10 +2430,8 @@ static bool simulate_implicit_euler(Implicit_Data *id, float dt) // itend(); // printf("cg_filtered calc time: %f\n", (float)itval()); - if (ok) { - // advance velocities - add_lfvector_lfvector(id->Vnew, id->V, id->dV, numverts); - } + // advance velocities + add_lfvector_lfvector(id->Vnew, id->V, id->dV, numverts); del_lfvector(dFdXmV); |