Added the ability to have the voice enabled in multiple viewer instances
This commit is contained in:
@@ -2503,7 +2503,7 @@ bool LLAppViewer::initConfiguration()
|
||||
// This is the second instance of SL. Turn off voice support,
|
||||
// but make sure the setting is *not* persisted.
|
||||
LLControlVariable* disable_voice = gSavedSettings.getControl("CmdLineDisableVoice");
|
||||
if(disable_voice)
|
||||
if(disable_voice && !gSavedSettings.getBOOL("VoiceMultiInstance"))
|
||||
{
|
||||
const BOOL DO_NOT_PERSIST = FALSE;
|
||||
disable_voice->setValue(LLSD(TRUE), DO_NOT_PERSIST);
|
||||
|
||||
Reference in New Issue
Block a user