diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-04-27 14:39:30 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-04-27 14:39:30 -0400 |
commit | d1a14cda3470e1f1b95442e39e0f0294c2e67cff (patch) | |
tree | 77b21ee89f710af25c95323d150ed0ebe442d629 /indra/newview/llvoavatar.cpp | |
parent | 041433483ad64c399ffcdf95906eb8e83109ba75 (diff) |
SL-375 - pos = default pos threshold is now 0.1 mm
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-x | indra/newview/llvoavatar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 9bfb402b03..08c0d9a116 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -5317,9 +5317,9 @@ void LLVOAvatar::clearAttachmentPosOverrides() bool above_joint_pos_threshold(const LLVector3& diff) { - return !diff.isNull(); - //const F32 max_joint_pos_offset = 0.0001f; // 0.1 mm - //return diff.lengthSquared() > max_joint_pos_offset * max_joint_pos_offset; + //return !diff.isNull(); + const F32 max_joint_pos_offset = 0.0001f; // 0.1 mm + return diff.lengthSquared() > max_joint_pos_offset * max_joint_pos_offset; } //----------------------------------------------------------------------------- |