summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-08-14 14:25:22 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-08-14 14:25:22 -0400
commit2157cf5e71f40ae4cc9eedaea6811a4c55718747 (patch)
treecbc308941ea4042d98e8decab622e73291ad7197 /indra/newview/llappearancemgr.cpp
parent4961ee03c7af92754f853530a4d346ed84f721d1 (diff)
SH-4422 FIX - fixed some recently introduced issues with link description fields, which among other things reduces the number of appearance requests sent.
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rwxr-xr-xindra/newview/llappearancemgr.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index c4bc6f648f..939d817201 100755
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -1592,8 +1592,7 @@ void LLAppearanceMgr::shallowCopyCategoryContents(const LLUUID& src_id, const LL
}
if (!link_array.empty())
{
- const bool resolve_links = true;
- link_inventory_array(dst_id, link_array, cb, resolve_links);
+ link_inventory_array(dst_id, link_array, cb);
}
}
@@ -2528,10 +2527,10 @@ void LLAppearanceMgr::addCOFItemLink(const LLInventoryItem *item,
if (!linked_already)
{
- LLInventoryObject::const_object_list_t obj_array;
- obj_array.push_back(LLConstPointer<LLInventoryObject>(vitem));
- const bool resolve_links = true;
- link_inventory_array(getCOF(), obj_array, cb, resolve_links);
+ LLViewerInventoryItem *copy_item = new LLViewerInventoryItem;
+ copy_item->copyViewerItem(vitem);
+ copy_item->setDescription(description);
+ link_inventory_object(getCOF(), copy_item, cb);
}
}
@@ -2735,7 +2734,8 @@ void LLAppearanceMgr::updateIsDirty()
if (item1->getActualDescription() != item2->getActualDescription())
{
LL_DEBUGS("Avatar") << "desc different " << item1->getActualDescription()
- << " " << item2->getActualDescription() << llendl;
+ << " " << item2->getActualDescription()
+ << " names " << item1->getName() << " " << item2->getName() << llendl;
}
}
mOutfitIsDirty = true;