From 51532aa22c6f9f73baf924d64cf3413740cba888 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Fri, 16 Aug 2013 00:49:34 -0400 Subject: [PATCH] Fix Issue 1012: Private voice call The original purpose of the patch removed here was to fix this very bug, though I could not reproduce it at that time... There must still be an edge case where this bug will reproduce but I tweaked the involved settings around quite a bit and could not reproduce it --- indra/newview/llvoicechannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp index 9b6548515..1e4c68b79 100644 --- a/indra/newview/llvoicechannel.cpp +++ b/indra/newview/llvoicechannel.cpp @@ -279,7 +279,7 @@ void LLVoiceChannel::deactivate() LLVoiceClient::getInstance()->getUserPTTState()) { gSavedSettings.setBOOL("PTTCurrentlyEnabled", true); - LLVoiceClient::getInstance()->setUserPTTState(false); // Singu Note: Calling inputUserControlState(true) here sometimes(always?) toggled mic back on, likely due to the above setBOOL + LLVoiceClient::getInstance()->inputUserControlState(true); } } LLVoiceClient::getInstance()->removeObserver(this);