summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-04-04 11:38:23 -0400
committerNyx Linden <nyx@lindenlab.com>2013-04-04 11:38:23 -0400
commit08bd67c0dda8d013ad490e89543297ebc3a15e77 (patch)
treee1b2475e6f5736074379cc4bea0217bd04c9fde8 /indra
parent4bcf1b911a4ea8e8ac8a6322918929732ec1b82d (diff)
SH-4059 FIX other's hover parameters affects your avatar's setting
Added an additional sanity check to make sure that other avatars don't affect your wearables.
Diffstat (limited to 'indra')
-rw-r--r--indra/llappearance/llavatarappearance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp
index 37b7f7b14e..3bb759d458 100644
--- a/indra/llappearance/llavatarappearance.cpp
+++ b/indra/llappearance/llavatarappearance.cpp
@@ -497,7 +497,7 @@ void LLAvatarAppearance::computeBodySize()
llassert(new_body_size.mV[VZ] + mAvatarOffset.mV[VZ] >= 0.1f);
- if (mWearableData)
+ if (mWearableData && isSelf())
{
LLWearable* shape = mWearableData->getWearable(LLWearableType::WT_SHAPE, 0);
if (shape)