diff options
author | Jacek Antonelli | 2009-09-04 01:56:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-09-04 03:39:51 -0500 |
commit | 89a510de10c48ebcf82b98a962e4bf66477dcc93 (patch) | |
tree | d30f79f433badffe36a67fc155e70a0e29dd2dc4 /linden/indra/newview/llviewercontrol.cpp | |
parent | Backported 1.23 fix for animation joint assertion crash. (diff) | |
download | meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.zip meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.gz meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.bz2 meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.xz |
Applied Kitty Barnett's RLVa 1.0.1h (Restrained Life) patch.
Made a few non-functional changes to help it apply.
Diffstat (limited to 'linden/indra/newview/llviewercontrol.cpp')
-rw-r--r-- | linden/indra/newview/llviewercontrol.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewercontrol.cpp b/linden/indra/newview/llviewercontrol.cpp index 89ae973..eb8b1d5 100644 --- a/linden/indra/newview/llviewercontrol.cpp +++ b/linden/indra/newview/llviewercontrol.cpp | |||
@@ -423,6 +423,20 @@ bool handleVoiceClientPrefsChanged(const LLSD& newvalue) | |||
423 | return true; | 423 | return true; |
424 | } | 424 | } |
425 | 425 | ||
426 | // [RLVa:KB] - Checked: 2009-08-11 (RLVa-1.0.1h) | Added: RLVa-1.0.1h | ||
427 | bool rlvHandleEnableLegacyNamingChanged(const LLSD& newvalue) | ||
428 | { | ||
429 | rlv_handler_t::fLegacyNaming = newvalue.asBoolean(); | ||
430 | return true; | ||
431 | } | ||
432 | |||
433 | bool rlvHandleShowNameTagsChanged(const LLSD& newvalue) | ||
434 | { | ||
435 | RlvSettings::fShowNameTags = newvalue.asBoolean(); | ||
436 | return true; | ||
437 | } | ||
438 | // [/RLVa:KB] | ||
439 | |||
426 | bool handleMediaDebugLevelChanged(const LLSD& newvalue) | 440 | bool handleMediaDebugLevelChanged(const LLSD& newvalue) |
427 | { | 441 | { |
428 | LLMediaManager *mgr = LLMediaManager::getInstance(); | 442 | LLMediaManager *mgr = LLMediaManager::getInstance(); |
@@ -566,6 +580,13 @@ void settings_setup_listeners() | |||
566 | gSavedSettings.getControl("AudioLevelMic")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1)); | 580 | gSavedSettings.getControl("AudioLevelMic")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1)); |
567 | gSavedSettings.getControl("LipSyncEnabled")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1)); | 581 | gSavedSettings.getControl("LipSyncEnabled")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1)); |
568 | gSavedSettings.getControl("MediaDebugLevel")->getSignal()->connect(boost::bind(&handleMediaDebugLevelChanged, _1)); | 582 | gSavedSettings.getControl("MediaDebugLevel")->getSignal()->connect(boost::bind(&handleMediaDebugLevelChanged, _1)); |
583 | |||
584 | // [RLVa:KB] - Checked: 2009-08-11 (RLVa-1.0.1h) | Added: RLVa-1.0.1h | ||
585 | if (gSavedSettings.controlExists(RLV_SETTING_ENABLELEGACYNAMING)) | ||
586 | gSavedSettings.getControl(RLV_SETTING_ENABLELEGACYNAMING)->getSignal()->connect(boost::bind(&rlvHandleEnableLegacyNamingChanged, _1)); | ||
587 | if (gSavedSettings.controlExists(RLV_SETTING_SHOWNAMETAGS)) | ||
588 | gSavedSettings.getControl(RLV_SETTING_SHOWNAMETAGS)->getSignal()->connect(boost::bind(&rlvHandleShowNameTagsChanged, _1)); | ||
589 | // [/RLVa:KB] | ||
569 | } | 590 | } |
570 | 591 | ||
571 | template <> eControlType get_control_type<U32>(const U32& in, LLSD& out) | 592 | template <> eControlType get_control_type<U32>(const U32& in, LLSD& out) |