summaryrefslogtreecommitdiff
path: root/indra/newview/lllandmarklist.h
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-10-26 15:25:55 -0700
committerSteve Bennetts <steve@lindenlab.com>2009-10-26 15:25:55 -0700
commitb078c44c9f876d25ba0454460902e0b4b65221c3 (patch)
treeea9d94e951836754b663a7c2ed9f26bc8e1872c9 /indra/newview/lllandmarklist.h
parent771fe6cb8d71b6d6ca6cd002fb41a11cd8f3f2bc (diff)
EXT-1402 - Thousands of "WARNING: LLAssetStorage::getAssetData: Discarding duplicate request for asset" lines
Added a list of requested landmark assets and limited the frequency of multiple requests for the same asset
Diffstat (limited to 'indra/newview/lllandmarklist.h')
-rw-r--r--indra/newview/lllandmarklist.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/lllandmarklist.h b/indra/newview/lllandmarklist.h
index ebf1b65e97..d9c3267142 100644
--- a/indra/newview/lllandmarklist.h
+++ b/indra/newview/lllandmarklist.h
@@ -74,7 +74,10 @@ protected:
typedef std::set<LLUUID> landmark_bad_list_t;
landmark_bad_list_t mBadList;
-
+
+ typedef std::map<LLUUID,F32> landmark_requested_list_t;
+ landmark_requested_list_t mRequestedList;
+
// *TODO: make the callback multimap a template class and make use of it
// here and in LLLandmark.
typedef std::multimap<LLUUID, loaded_callback_t> loaded_callback_map_t;