diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/lltoolselectland.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/lltoolselectland.cpp')
-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 | } |