diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lltoolselectland.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/newview/lltoolselectland.cpp b/linden/indra/newview/lltoolselectland.cpp index c0c0818..eaad28c 100644 --- a/linden/indra/newview/lltoolselectland.cpp +++ b/linden/indra/newview/lltoolselectland.cpp | |||
@@ -65,6 +65,10 @@ LLToolSelectLand::LLToolSelectLand( ) | |||
65 | mLastShowParcelOwners(FALSE) | 65 | mLastShowParcelOwners(FALSE) |
66 | { } | 66 | { } |
67 | 67 | ||
68 | LLToolSelectLand::~LLToolSelectLand() | ||
69 | { | ||
70 | } | ||
71 | |||
68 | 72 | ||
69 | BOOL LLToolSelectLand::handleMouseDown(S32 x, S32 y, MASK mask) | 73 | BOOL LLToolSelectLand::handleMouseDown(S32 x, S32 y, MASK mask) |
70 | { | 74 | { |
@@ -133,7 +137,7 @@ BOOL LLToolSelectLand::handleMouseUp(S32 x, S32 y, MASK mask) | |||
133 | roundXY(mEastNorthTop); | 137 | roundXY(mEastNorthTop); |
134 | 138 | ||
135 | // Don't auto-select entire parcel. | 139 | // Don't auto-select entire parcel. |
136 | gParcelMgr->selectLand( mWestSouthBottom, mEastNorthTop, FALSE ); | 140 | mSelection = gParcelMgr->selectLand( mWestSouthBottom, mEastNorthTop, FALSE ); |
137 | } | 141 | } |
138 | 142 | ||
139 | mMouseOutsideSlop = FALSE; | 143 | mMouseOutsideSlop = FALSE; |
@@ -220,6 +224,7 @@ void LLToolSelectLand::handleSelect() | |||
220 | void LLToolSelectLand::handleDeselect() | 224 | void LLToolSelectLand::handleDeselect() |
221 | { | 225 | { |
222 | gFloaterTools->setStatusText(""); | 226 | gFloaterTools->setStatusText(""); |
227 | mSelection = NULL; | ||
223 | //gParcelMgr->deselectLand(); | 228 | //gParcelMgr->deselectLand(); |
224 | gSavedSettings.setBOOL("ShowParcelOwners", mLastShowParcelOwners); | 229 | gSavedSettings.setBOOL("ShowParcelOwners", mLastShowParcelOwners); |
225 | } | 230 | } |