diff options
author | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2014-05-16 19:58:05 +0300 |
---|---|---|
committer | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2014-05-16 19:58:05 +0300 |
commit | 1c82f376c2368f8f91627b3a45b2d6900d938ff4 (patch) | |
tree | ce24eb5cae537f82b59aa1102e9990c6163b7a2f /indra/newview | |
parent | 704246c30f79a45535c43893422d990db141f541 (diff) |
MAINT-4032 FIXED Sounds played locally play from avatar position, not camera position.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llpreviewsound.cpp | 3 |
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); } } |