MAINT-4032 FIXED Sounds played locally play from avatar position, not camera position.

AndreyL ProductEngine 2014-05-16 19:58:05 +03:00
parent 704246c30f
commit 1c82f376c2
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}