Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2014-09-12 17:48:59 +0400
committerLukas Tönne <lukas.toenne@gmail.com>2015-01-20 11:30:00 +0300
commit3007fc6eb7612238d39962229bfac657e56cab02 (patch)
tree07d06108509169f13a8a97dffab80a03ea1209f5 /source/blender/blenkernel/intern/implicit.c
parent8532cf206e21eb59743bf8de79d236fbd132c3ea (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.c6
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);