From a1e401c626ba4f0a46e86e31ab91d1cbecf07942 Mon Sep 17 00:00:00 2001 From: Sergei Litovchuk Date: Wed, 18 Aug 2010 20:42:11 +0300 Subject: EXT-7325 FIXED Disabled "Show on Map" context menu item in My Landmarks while landmark coordinates are being downloaded from landmarks list. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/866/. --HG-- branch : product-engine --- indra/newview/lllandmarklist.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview/lllandmarklist.cpp') diff --git a/indra/newview/lllandmarklist.cpp b/indra/newview/lllandmarklist.cpp index 87257832b6..dd402de394 100644 --- a/indra/newview/lllandmarklist.cpp +++ b/indra/newview/lllandmarklist.cpp @@ -159,6 +159,11 @@ void LLLandmarkList::processGetAssetReply( } +BOOL LLLandmarkList::isAssetInLoadedCallbackMap(const LLUUID& asset_uuid) +{ + return mLoadedCallbackMap.find(asset_uuid) != mLoadedCallbackMap.end(); +} + BOOL LLLandmarkList::assetExists(const LLUUID& asset_uuid) { return mList.count(asset_uuid) != 0 || mBadList.count(asset_uuid) != 0; -- cgit v1.2.3