[Voice Update] Remove gVoiceClient occurrences in favor of using LLVoiceClient as a Singleton everywhere.
This commit is contained in:
@@ -547,6 +547,12 @@ bool handleEffectColorChanged(const LLSD& newvalue)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool handleVoiceClientPrefsChanged(const LLSD& newvalue)
|
||||
{
|
||||
LLVoiceClient::getInstance()->updateSettings();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool handleVelocityInterpolate(const LLSD& newvalue)
|
||||
{
|
||||
LLMessageSystem* msg = gMessageSystem;
|
||||
@@ -571,15 +577,6 @@ bool handleVelocityInterpolate(const LLSD& newvalue)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool handleVoiceClientPrefsChanged(const LLSD& newvalue)
|
||||
{
|
||||
if(gVoiceClient)
|
||||
{
|
||||
gVoiceClient->updateSettings();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool handleTranslateChatPrefsChanged(const LLSD& newvalue)
|
||||
{
|
||||
LLFloaterChat* floaterp = LLFloaterChat::getInstance();
|
||||
|
||||
Reference in New Issue
Block a user