Feature Request: Autoselect the parcel you are on for about land floater when there's no active parcel selection.

This commit is contained in:
Inusaito Sayori
2014-08-05 23:25:39 -04:00
parent d3242393e0
commit 8f8904ad0f

View File

@@ -257,6 +257,8 @@ LLFloaterLand::~LLFloaterLand()
// public // public
void LLFloaterLand::refresh() void LLFloaterLand::refresh()
{ {
if (LLViewerParcelMgr::getInstance()->selectionEmpty())
LLViewerParcelMgr::getInstance()->selectParcelAt(gAgent.getPositionGlobal());
mPanelGeneral->refresh(); mPanelGeneral->refresh();
mPanelObjects->refresh(); mPanelObjects->refresh();
mPanelOptions->refresh(); mPanelOptions->refresh();