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/llstatusbar.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 '')
-rw-r--r-- | linden/indra/newview/llstatusbar.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linden/indra/newview/llstatusbar.cpp b/linden/indra/newview/llstatusbar.cpp index b0ef61f..012db6f 100644 --- a/linden/indra/newview/llstatusbar.cpp +++ b/linden/indra/newview/llstatusbar.cpp | |||
@@ -568,6 +568,15 @@ void LLStatusBar::refresh() | |||
568 | mRegionDetails.mTraffic = 0.0f; | 568 | mRegionDetails.mTraffic = 0.0f; |
569 | } | 569 | } |
570 | 570 | ||
571 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | Modified: RLVa-1.0.0a | ||
572 | if ( (region) && (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) ) // region == NULL if we loose our connection to the grid | ||
573 | { | ||
574 | // TODO-RLVa: find out whether the LCD code is still used because if so then we need to filter that as well | ||
575 | location_name = llformat("%s (%s) - %s", | ||
576 | rlv_handler_t::cstrHiddenRegion.c_str(), region->getSimAccessString().c_str(), rlv_handler_t::cstrHidden.c_str()); | ||
577 | } | ||
578 | // [/RLVa:KB] | ||
579 | |||
571 | mTextParcelName->setText(location_name); | 580 | mTextParcelName->setText(location_name); |
572 | 581 | ||
573 | 582 | ||
@@ -814,6 +823,12 @@ static void onClickScripts(void*) | |||
814 | 823 | ||
815 | static void onClickBuyLand(void*) | 824 | static void onClickBuyLand(void*) |
816 | { | 825 | { |
826 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | ||
827 | if ( (rlv_handler_t::isEnabled()) && (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) ) | ||
828 | { | ||
829 | return; | ||
830 | } | ||
831 | // [/RLVa:KB] | ||
817 | LLViewerParcelMgr::getInstance()->selectParcelAt(gAgent.getPositionGlobal()); | 832 | LLViewerParcelMgr::getInstance()->selectParcelAt(gAgent.getPositionGlobal()); |
818 | LLViewerParcelMgr::getInstance()->startBuyLand(); | 833 | LLViewerParcelMgr::getInstance()->startBuyLand(); |
819 | } | 834 | } |