From 9c80f58d34242048a5ae1d35df9c4ab48ab316ab Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Tue, 27 Aug 2013 23:27:09 -0400 Subject: [PATCH] Fix tabs and spaces mixup and typo in llvoicevivox. --- indra/newview/llvoicevivox.cpp | 62 +++++++++++++++++----------------- indra/newview/llvoicevivox.h | 2 +- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index a4713ef1b..edfecf681 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -2564,44 +2564,44 @@ void LLVivoxVoiceClient::sendPositionalUpdate(void) stream << ""; - if (mEarLocation != earLocSpeaker) - { - LLVector3d earPosition; - LLVector3 earVelocity; - LLMatrix3 earRot; + if (mEarLocation != earLocSpeaker) + { + LLVector3d earPosition; + LLVector3 earVelocity; + LLMatrix3 earRot; - switch(mEarLocation) - { - case earLocCamera: - default: - earPosition = mCameraPosition; - earVelocity = mCameraVelocity; - earRot = mCameraRot; - break; + switch(mEarLocation) + { + case earLocCamera: + default: + earPosition = mCameraPosition; + earVelocity = mCameraVelocity; + earRot = mCameraRot; + break; - case earLocAvatar: - earPosition = mAvatarPosition; - earVelocity = mAvatarVelocity; - earRot = mAvatarRot; - break; + case earLocAvatar: + earPosition = mAvatarPosition; + earVelocity = mAvatarVelocity; + earRot = mAvatarRot; + break; - case earLocMixed: - earPosition = mAvatarPosition; - earVelocity = mAvatarVelocity; - earRot = mCameraRot; - break; - } + case earLocMixed: + earPosition = mAvatarPosition; + earVelocity = mAvatarVelocity; + earRot = mCameraRot; + break; + } - l = earRot.getLeftRow(); - u = earRot.getUpRow(); - a = earRot.getFwdRow(); - pos = earPosition; - vel = earVelocity; + l = earRot.getLeftRow(); + u = earRot.getUpRow(); + a = earRot.getFwdRow(); + pos = earPosition; + vel = earVelocity; // LL_DEBUGS("Voice") << "Sending listener position " << earPosition << LL_ENDL; - oldSDKTransform(l, u, a, pos, vel); - } + oldSDKTransform(l, u, a, pos, vel); + } stream << "" diff --git a/indra/newview/llvoicevivox.h b/indra/newview/llvoicevivox.h index 329d7248f..e9c233993 100644 --- a/indra/newview/llvoicevivox.h +++ b/indra/newview/llvoicevivox.h @@ -787,7 +787,7 @@ private: earLocCamera = 0, // ear at camera earLocAvatar, // ear at avatar earLocMixed, // ear at avatar location/camera direction - earLocSpeaker // eat at speaker, speakers not affected by position + earLocSpeaker // ear at speaker, speakers not affected by position }; S32 mEarLocation;