diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-11-26 22:56:20 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-11-26 23:52:33 +0200 |
commit | 993ac3b95ca79312b3309a2d539b19fe6f89c318 (patch) | |
tree | 5430cbe10cb7d063ca0aa526c2c758c2c011a966 /indra/llaudio/llaudioengine_fmodstudio.cpp | |
parent | caa780fd3a752377f86f7928c8b374951cbe3783 (diff) |
SL-16339 Rename setAmbient to not cause confusion
setAmbient has nothing to do with ambient sounds
Diffstat (limited to 'indra/llaudio/llaudioengine_fmodstudio.cpp')
-rw-r--r-- | indra/llaudio/llaudioengine_fmodstudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llaudio/llaudioengine_fmodstudio.cpp b/indra/llaudio/llaudioengine_fmodstudio.cpp index 70b3a08473..5450577134 100644 --- a/indra/llaudio/llaudioengine_fmodstudio.cpp +++ b/indra/llaudio/llaudioengine_fmodstudio.cpp @@ -519,9 +519,9 @@ void LLAudioChannelFMODSTUDIO::update3DPosition() return; } - if (mCurrentSourcep->isAmbient()) + if (mCurrentSourcep->isForcedPriority()) { - // Ambient sound, don't need to do any positional updates. + // Prioritized UI and preview sounds don't need to do any positional updates. set3DMode(false); } else |