diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index cb9177587f..ac289a4fc2 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -10584,28 +10584,6 @@ Value 0 - VoiceFontsAvailable - - Comment - Temporary debug setting to test UI with no voice effects available. - Persist - 0 - Type - Boolean - Value - 1 - - VoiceEffectEnabled - - Comment - Whether or not to use Voice Effects and show the UI. - Persist - 0 - Type - Boolean - Value - 1 - VoiceEffectExpiryWarningTime Comment @@ -10617,6 +10595,17 @@ Value 259200.0 + VoiceMorphingEnabled + + Comment + Whether or not to enable Voice Effects and show the UI. + Persist + 0 + Type + Boolean + Value + 1 + AutoDisengageMic Comment diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index d44b47707e..3a51f51c52 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -115,7 +115,7 @@ std::string LLVoiceClientStatusObserver::status2string(LLVoiceClientStatusObserv LLVoiceClient::LLVoiceClient() : mVoiceModule(NULL), - mVoiceEffectEnabled(LLCachedControl(gSavedSettings, "VoiceEffectEnabled")), + mVoiceEffectEnabled(LLCachedControl(gSavedSettings, "VoiceMorphingEnabled")), mVoiceEffectDefault(LLCachedControl(gSavedPerAccountSettings, "VoiceEffectDefault")) { } diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index d786b4d928..240d7ff164 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -1322,8 +1322,7 @@ void LLVivoxVoiceClient::stateMachine() notifyStatusObservers(LLVoiceClientStatusObserver::STATUS_LOGGED_IN); - // *FIX: Remove VoiceFontsAvailable temporary setting (only used to test UI behaviour with no fonts) - if (LLVoiceClient::instance().getVoiceEffectEnabled() && gSavedSettings.getBOOL("VoiceFontsAvailable")) + if (LLVoiceClient::instance().getVoiceEffectEnabled()) { // request the set of available voice fonts setState(stateVoiceFontsWait); diff --git a/indra/newview/skins/default/xui/en/floater_voice_controls.xml b/indra/newview/skins/default/xui/en/floater_voice_controls.xml index 216766c3a6..0569b4d515 100644 --- a/indra/newview/skins/default/xui/en/floater_voice_controls.xml +++ b/indra/newview/skins/default/xui/en/floater_voice_controls.xml @@ -99,7 +99,7 @@ + name="ShowVoice" + visibility_control="VoiceMorphingEnabled">