diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-24 04:18:34 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-24 04:18:34 +0400 |
commit | d8c257faa7ec7d7b6b372ac3208e87faeb0989b7 (patch) | |
tree | 4391ee220b616120a4519b6a77ffb1e868e4ce1d /intern/iksolver | |
parent | 7cc12e5170b8396d25db5f9e50c69088073c31f6 (diff) |
IK Solver:
* Rename Legacy to Standard, it's not being deprecated as far as I know.
* Make option to toggle off Location solving work with Standard.
* Make it converge a bit better in some cases by enforcing a minimum number of
iterations before giving up.
* Move IK solver choice out of bone panel, it's an armature level setting and
should be set there.
Diffstat (limited to 'intern/iksolver')
-rw-r--r-- | intern/iksolver/intern/IK_QJacobianSolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/iksolver/intern/IK_QJacobianSolver.cpp b/intern/iksolver/intern/IK_QJacobianSolver.cpp index 43d177d0651..75f51f566c9 100644 --- a/intern/iksolver/intern/IK_QJacobianSolver.cpp +++ b/intern/iksolver/intern/IK_QJacobianSolver.cpp @@ -377,7 +377,7 @@ bool IK_QJacobianSolver::Solve( norm = maxnorm; // check for convergence - if (norm < 1e-3) { + if (norm < 1e-3 && iterations > 10) { solved = true; break; } |