Merge branch 'Moap' of git://github.com/Shyotl/SingularityViewer into VoiceUpdate
Conflicts: indra/newview/lloverlaybar.cpp - Shyotl did some caching, VoiceUpdate turned LLVoiceClient::voiceEnabled non-static. indra/newview/llvoiceclient.cpp - Change actually belongs in llvoicevivox.cpp
This commit is contained in:
@@ -5320,7 +5320,9 @@ void LLVivoxVoiceClient::setVoiceEnabled(bool enabled)
|
||||
|
||||
bool LLVivoxVoiceClient::voiceEnabled()
|
||||
{
|
||||
return gSavedSettings.getBOOL("EnableVoiceChat") && !gSavedSettings.getBOOL("CmdLineDisableVoice");
|
||||
static const LLCachedControl<bool> enable_voice_chat("EnableVoiceChat",true);
|
||||
static const LLCachedControl<bool> cmdline_disable_voice("CmdLineDisableVoice",false);
|
||||
return enable_voice_chat && !cmdline_disable_voice;
|
||||
}
|
||||
|
||||
void LLVivoxVoiceClient::setLipSyncEnabled(BOOL enabled)
|
||||
|
||||
Reference in New Issue
Block a user