aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewercontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewercontrol.cpp')
-rw-r--r--linden/indra/newview/llviewercontrol.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewercontrol.cpp b/linden/indra/newview/llviewercontrol.cpp
index a81def7..b9db346 100644
--- a/linden/indra/newview/llviewercontrol.cpp
+++ b/linden/indra/newview/llviewercontrol.cpp
@@ -432,6 +432,20 @@ bool handleVoiceClientPrefsChanged(const LLSD& newvalue)
432 return true; 432 return true;
433} 433}
434 434
435// [RLVa:KB] - Checked: 2009-08-11 (RLVa-1.0.1h) | Added: RLVa-1.0.1h
436bool rlvHandleEnableLegacyNamingChanged(const LLSD& newvalue)
437{
438 rlv_handler_t::fLegacyNaming = newvalue.asBoolean();
439 return true;
440}
441
442bool rlvHandleShowNameTagsChanged(const LLSD& newvalue)
443{
444 RlvSettings::fShowNameTags = newvalue.asBoolean();
445 return true;
446}
447// [/RLVa:KB]
448
435bool handleMediaDebugLevelChanged(const LLSD& newvalue) 449bool handleMediaDebugLevelChanged(const LLSD& newvalue)
436{ 450{
437 LLMediaManager *mgr = LLMediaManager::getInstance(); 451 LLMediaManager *mgr = LLMediaManager::getInstance();
@@ -578,6 +592,13 @@ void settings_setup_listeners()
578 gSavedSettings.getControl("AudioLevelMic")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1)); 592 gSavedSettings.getControl("AudioLevelMic")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1));
579 gSavedSettings.getControl("LipSyncEnabled")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1)); 593 gSavedSettings.getControl("LipSyncEnabled")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1));
580 gSavedSettings.getControl("MediaDebugLevel")->getSignal()->connect(boost::bind(&handleMediaDebugLevelChanged, _1)); 594 gSavedSettings.getControl("MediaDebugLevel")->getSignal()->connect(boost::bind(&handleMediaDebugLevelChanged, _1));
595
596// [RLVa:KB] - Checked: 2009-08-11 (RLVa-1.0.1h) | Added: RLVa-1.0.1h
597 if (gSavedSettings.controlExists(RLV_SETTING_ENABLELEGACYNAMING))
598 gSavedSettings.getControl(RLV_SETTING_ENABLELEGACYNAMING)->getSignal()->connect(boost::bind(&rlvHandleEnableLegacyNamingChanged, _1));
599 if (gSavedSettings.controlExists(RLV_SETTING_SHOWNAMETAGS))
600 gSavedSettings.getControl(RLV_SETTING_SHOWNAMETAGS)->getSignal()->connect(boost::bind(&rlvHandleShowNameTagsChanged, _1));
601// [/RLVa:KB]
581} 602}
582 603
583template <> eControlType get_control_type<U32>(const U32& in, LLSD& out) 604template <> eControlType get_control_type<U32>(const U32& in, LLSD& out)