SH-4044 FIX voice dot is offset vertically if using avatar height offset

Added the height offset in one too many places. fixing.
This commit is contained in:
Nyx Linden
2013-04-02 12:46:41 -04:00
committed by Latif Khalifa
parent 82ecdd1079
commit add9bb9945

View File

@@ -2463,7 +2463,7 @@ void LLVOAvatar::idleUpdateVoiceVisualizer(bool voice_enabled)
{
LLVector3 tagPos = mRoot->getWorldPosition();
tagPos[VZ] -= mPelvisToFoot;
tagPos[VZ] += ( mBodySize[VZ] + mAvatarOffset[VZ] + 0.125f );
tagPos[VZ] += ( mBodySize[VZ] + 0.125f );
mVoiceVisualizer->setVoiceSourceWorldPosition( tagPos );
}
}//if ( voiceEnabled )