summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndreyL ProductEngine <andreylproductengine@lindenlab.com>2014-05-16 19:58:05 +0300
committerAndreyL ProductEngine <andreylproductengine@lindenlab.com>2014-05-16 19:58:05 +0300
commit1c82f376c2368f8f91627b3a45b2d6900d938ff4 (patch)
treece24eb5cae537f82b59aa1102e9990c6163b7a2f /indra
parent704246c30f79a45535c43893422d990db141f541 (diff)
MAINT-4032 FIXED Sounds played locally play from avatar position, not camera position.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llpreviewsound.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llpreviewsound.cpp b/indra/newview/llpreviewsound.cpp
index 11b81a58fc..105c5e8cbe 100755
--- a/indra/newview/llpreviewsound.cpp
+++ b/indra/newview/llpreviewsound.cpp
@@ -95,7 +95,6 @@ void LLPreviewSound::auditionSound( void *userdata )
if(item && gAudiop)
{
- LLVector3d lpos_global = gAgent.getPositionGlobal();
- gAudiop->triggerSound(item->getAssetUUID(), gAgent.getID(), SOUND_GAIN, LLAudioEngine::AUDIO_TYPE_SFX, lpos_global);
+ gAudiop->triggerSound(item->getAssetUUID(), gAgent.getID(), SOUND_GAIN, LLAudioEngine::AUDIO_TYPE_SFX);
}
}