summaryrefslogtreecommitdiff
path: root/indra/llappearance/llavatarappearance.cpp
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-04-25 16:17:01 -0400
committerNyx Linden <nyx@lindenlab.com>2013-04-25 16:17:01 -0400
commitf35a229281c1b9dbec1f6f939e97344ed86d5429 (patch)
treed9169508be083ce39f5d18d0dc96e28700430a5e /indra/llappearance/llavatarappearance.cpp
parent4df3e38e294e4ba506fdc2a3920361c1f832f9fb (diff)
BUILDFIX: removing unused variables
Diffstat (limited to 'indra/llappearance/llavatarappearance.cpp')
-rw-r--r--indra/llappearance/llavatarappearance.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp
index 0196558a5a..0a15f06bfd 100644
--- a/indra/llappearance/llavatarappearance.cpp
+++ b/indra/llappearance/llavatarappearance.cpp
@@ -493,8 +493,6 @@ void LLAvatarAppearance::computeBodySize()
// Camera positioning and other things start to break down when your avatar is "walking" while being fully underground
if (new_body_size.mV[VZ] + mAvatarOffset.mV[VZ] < 1.1f)
{
- F32 old_offset = mAvatarOffset.mV[VZ];
- F32 old_effective_height = new_body_size.mV[VZ] + mAvatarOffset.mV[VZ];
mAvatarOffset.mV[VZ] = -(new_body_size.mV[VZ] - 1.11f); // avoid floating point rounding making the above check continue to fail.
llassert(new_body_size.mV[VZ] + mAvatarOffset.mV[VZ] >= 1.1f);