diff options
| author | simon <none@none> | 2014-10-09 11:07:33 -0700 |
|---|---|---|
| committer | simon <none@none> | 2014-10-09 11:07:33 -0700 |
| commit | e8a5c06dc47bbd1965c852890446f9d8b9d2c68b (patch) | |
| tree | bcc8835cb8ccf49bc11a2534f9759dad1d5bd1c2 /indra/newview/llagent.cpp | |
| parent | d7db567f27e6cc30aaffaf38d6ea219a7adf4678 (diff) | |
| parent | fa4fdedf51e37a195f5ee6688f1e3a7a0e2bf160 (diff) | |
Merge downstream code and become 3.7.18
Diffstat (limited to 'indra/newview/llagent.cpp')
| -rwxr-xr-x | indra/newview/llagent.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index ef1d528aa2..5cb03cd2ae 100755 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3808,6 +3808,10 @@ void LLAgent::restartFailedTeleportRequest() void LLAgent::clearTeleportRequest() { + if(LLVoiceClient::instanceExists()) + { + LLVoiceClient::getInstance()->setHidden(FALSE); + } mTeleportRequest.reset(); } @@ -3826,6 +3830,10 @@ bool LLAgent::hasPendingTeleportRequest() void LLAgent::startTeleportRequest() { + if(LLVoiceClient::instanceExists()) + { + LLVoiceClient::getInstance()->setHidden(TRUE); + } if (hasPendingTeleportRequest()) { if (!isMaturityPreferenceSyncedWithServer()) @@ -3871,6 +3879,11 @@ void LLAgent::handleTeleportFinished() void LLAgent::handleTeleportFailed() { + if(LLVoiceClient::instanceExists()) + { + LLVoiceClient::getInstance()->setHidden(FALSE); + } + if (mTeleportRequest != NULL) { mTeleportRequest->setStatus(LLTeleportRequest::kFailed); |
