From d1a14cda3470e1f1b95442e39e0f0294c2e67cff Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Wed, 27 Apr 2016 14:39:30 -0400 Subject: SL-375 - pos = default pos threshold is now 0.1 mm --- indra/newview/llvoavatar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra') 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; } //----------------------------------------------------------------------------- -- cgit v1.2.3