summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindra/newview/llvoavatar.cpp6
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;
}
//-----------------------------------------------------------------------------