summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCinder <cinder@sdf.org>2016-08-25 13:42:37 -0500
committerCinder <cinder@sdf.org>2016-08-25 13:42:37 -0500
commitca9d39c6c7f0acd2cf6f8a6e894d09dcf8e6a353 (patch)
tree053de511fd15043f846b00872cf150cadca6e2f3 /indra
parenta72a4cb394fcce65b10126d631b270acf6009eb4 (diff)
SL-3404 Don't send ParcelPropertiesRequest on every cursor position change
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lltoolpie.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp
index 1b76d249cb..697db01d11 100644
--- a/indra/newview/lltoolpie.cpp
+++ b/indra/newview/lltoolpie.cpp
@@ -870,13 +870,11 @@ static bool needs_tooltip(LLSelectNode* nodep)
BOOL LLToolPie::handleTooltipLand(std::string line, std::string tooltip_msg)
{
- LLViewerParcelMgr::getInstance()->setHoverParcel( mHoverPick.mPosGlobal );
- //
- // Do not show hover for land unless prefs are set to allow it.
- //
-
+ // Do not show hover for land unless prefs are set to allow it.
if (!gSavedSettings.getBOOL("ShowLandHoverTip")) return TRUE;
-
+
+ LLViewerParcelMgr::getInstance()->setHoverParcel( mHoverPick.mPosGlobal );
+
// Didn't hit an object, but since we have a land point we
// must be hovering over land.