[Floater Flexibility] Part one: Refactor all floaters to work with the dictionary in one way or another.

This commit is contained in:
Inusaito Sayori
2014-03-25 00:23:56 -04:00
parent ee610ceb3f
commit f37d83abe1
22 changed files with 219 additions and 512 deletions

View File

@@ -69,6 +69,7 @@
#include "lloverlaybar.h"
#include "roles_constants.h"
#include "llweb.h"
#include "rlvactions.h"
const F32 PARCEL_COLLISION_DRAW_SECS = 1.f;
@@ -2226,6 +2227,12 @@ bool LLViewerParcelMgr::canAgentBuyParcel(LLParcel* parcel, bool forGroup) const
void LLViewerParcelMgr::startBuyLand(BOOL is_for_group)
{
// [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a)
if (RlvActions::isRlvEnabled() && RlvActions::canShowLocation())
return;
// [/RLVa:KB]
if (selectionEmpty()) selectParcelAt(gAgent.getPositionGlobal());
LLFloaterBuyLand::buyLand(getSelectionRegion(), mCurrentParcelSelection, is_for_group == TRUE);
}