summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-06-26 12:19:38 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-06-26 12:19:38 -0400
commitfd2893e23d002124c49416b7e7a497a1105d2fc4 (patch)
treef2b39820a3c0b9290fd7db93ce6f4b7075d3186e /indra/newview/llappearancemgr.cpp
parentcbb83180e8ea6c1f64c77049ea62f2977f55e2f1 (diff)
SH-4305 WIP - cleanup
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rwxr-xr-xindra/newview/llappearancemgr.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 5f061ca290..9c10c20cfe 100755
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -1821,25 +1821,6 @@ void LLAppearanceMgr::updateCOF(const LLUUID& category, bool append)
// Will link all the above items.
LLPointer<LLInventoryCallback> link_waiter = new LLUpdateAppearanceOnDestroy;
-#if 0
- linkAll(cof,all_items,link_waiter);
-
- // Add link to outfit if category is an outfit.
- if (!append)
- {
- createBaseOutfitLink(category, link_waiter);
- }
-
- // Remove current COF contents. Have to do this after creating
- // the link_waiter so links can be followed for any items that get
- // carried over (e.g. keeping old shape if the new outfit does not
- // contain one)
-
- // even in the non-append case, createBaseOutfitLink() already
- // deletes the existing link, don't need to do it again here.
- bool keep_outfit_links = true;
- remove_folder_contents(cof, keep_outfit_links, link_waiter);
-#else
LLSD contents = LLSD::emptyArray();
for (LLInventoryModel::item_array_t::const_iterator it = all_items.begin();
it != all_items.end(); ++it)
@@ -1868,7 +1849,6 @@ void LLAppearanceMgr::updateCOF(const LLUUID& category, bool append)
dump_sequential_xml(gAgentAvatarp->getFullname() + "_slam_request", contents);
}
slam_inventory_folder(getCOF(), contents, link_waiter);
-#endif
LL_DEBUGS("Avatar") << self_av_string() << "waiting for LLUpdateAppearanceOnDestroy" << LL_ENDL;
}