diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-10-12 01:49:27 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-10-12 02:50:02 +0300 |
commit | e8d33a8b5b06b70b6354672b6d426e82a8aed578 (patch) | |
tree | 1ec795c685c67f96dddbcfac27306c6fb1436087 /indra/newview/llagent.cpp | |
parent | 90ff4b416d12814035492e519c08c36d925bbab5 (diff) |
Revert "Add toggles to avatar dropdown for hear sound or voice from avatar. (#2518, #2519)"
This reverts commit 6af471482d6801530915c1c9ae4bdf788af52eae.
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r-- | indra/newview/llagent.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index ca35608175..3d4f5e1054 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -355,20 +355,6 @@ bool LLAgent::isMicrophoneOn(const LLSD& sdname) return LLVoiceClient::getInstance()->getUserPTTState(); } -//static -void LLAgent::toggleHearMediaSoundFromAvatar() -{ - const S32 mediaSoundsEarLocation = gSavedSettings.getS32("MediaSoundsEarLocation"); - gSavedSettings.setS32("MediaSoundsEarLocation", !mediaSoundsEarLocation); -} - -//static -void LLAgent::toggleHearVoiceFromAvatar() -{ - const S32 voiceEarLocation = gSavedSettings.getS32("VoiceEarLocation"); - gSavedSettings.setS32("VoiceEarLocation", !voiceEarLocation); -} - // ************************************************************ // Enabled this definition to compile a 'hacked' viewer that // locally believes the end user has godlike powers. |