STORM-2136 - Don't send ParcelPropertiesRequest willy nilly on every cursor position change, only send when ShowLandTooltips is enabled

master
Cinder 2016-08-25 13:42:37 -05:00
parent ecbfe28829
commit a079baa258
2 changed files with 5 additions and 6 deletions

View File

@ -346,6 +346,7 @@ Cinder Roxley
STORM-2113
STORM-2124
STORM-2127
STORM-2136
Clara Young
Coaldust Numbers
VWR-1095

View File

@ -951,13 +951,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.