From 08bd67c0dda8d013ad490e89543297ebc3a15e77 Mon Sep 17 00:00:00 2001 From: Nyx Linden Date: Thu, 4 Apr 2013 11:38:23 -0400 Subject: 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. --- indra/llappearance/llavatarappearance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llappearance') 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) -- cgit v1.2.3