diff options
author | Aura Linden <aura@lindenlab.com> | 2014-08-15 18:49:54 -0700 |
---|---|---|
committer | Aura Linden <aura@lindenlab.com> | 2014-08-15 18:49:54 -0700 |
commit | 370aa671c66cfd5e2a338602d2e9765e9ea103f8 (patch) | |
tree | 50107cbacb8466e5fe96ffbfd369075f850c0cc7 /indra/newview/llagent.cpp | |
parent | 75406641836fee796428216df82b7e29ad24443a (diff) |
Allegedly hides voice position on teleport. Needs testing.
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-x | indra/newview/llagent.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index bd6025feea..059f21e91e 100755 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3802,6 +3802,10 @@ void LLAgent::restartFailedTeleportRequest() void LLAgent::clearTeleportRequest() { + if(LLVoiceClient::instanceExists()) + { + LLVoiceClient::getInstance()->setHidden(FALSE); + } mTeleportRequest.reset(); } @@ -3820,6 +3824,10 @@ bool LLAgent::hasPendingTeleportRequest() void LLAgent::startTeleportRequest() { + if(LLVoiceClient::instanceExists()) + { + LLVoiceClient::getInstance()->setHidden(TRUE); + } if (hasPendingTeleportRequest()) { if (!isMaturityPreferenceSyncedWithServer()) |