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.
This commit is contained in:
Nyx Linden
2013-04-04 11:38:23 -04:00
committed by Latif Khalifa
parent 1a3e2ff18e
commit 987ab9c07f

View File

@@ -498,7 +498,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)