diff options
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 | } |