summaryrefslogtreecommitdiff
path: root/indra/newview/llattachmentsmgr.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-02-27 10:28:50 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-02-27 10:28:50 -0500
commit43aac9ad1d303b24432623e253f568fd82b77a2a (patch)
tree3349b11067db7ddee40c484d2826ac85bcb6f59d /indra/newview/llattachmentsmgr.cpp
parentc3f05185a719e07706dc7f0096f5683c231a2755 (diff)
MAINT-4918 WIP - batch up detach requests for objects
Diffstat (limited to 'indra/newview/llattachmentsmgr.cpp')
-rwxr-xr-xindra/newview/llattachmentsmgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llattachmentsmgr.cpp b/indra/newview/llattachmentsmgr.cpp
index a38bae207d..e64ed6563a 100755
--- a/indra/newview/llattachmentsmgr.cpp
+++ b/indra/newview/llattachmentsmgr.cpp
@@ -117,6 +117,7 @@ void LLAttachmentsMgr::linkPendingAttachments()
{
LLPointer<LLInventoryCallback> cb = new LLAttachAfterLinkCallback(mPendingAttachments);
LLInventoryObject::const_object_list_t inv_items_to_link;
+ LL_DEBUGS("Avatar") << "ATT requesting COF links for " << mPendingAttachments.size() << " object(s):" << LL_ENDL;
for (attachments_vec_t::const_iterator it = mPendingAttachments.begin();
it != mPendingAttachments.end(); ++it)
{
@@ -124,6 +125,7 @@ void LLAttachmentsMgr::linkPendingAttachments()
LLViewerInventoryItem *item = gInventory.getItem(att_info.mItemID);
if (item)
{
+ LL_DEBUGS("Avatar") << "ATT - requesting COF link for " << item->getName() << LL_ENDL;
inv_items_to_link.push_back(item);
}
else