summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-05-17 10:41:42 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-05-17 10:41:42 -0400
commit6672b16079efc84867d3f7eb5acae0a7ec4e556b (patch)
tree320881c8e22cecd9677431860ab92eb5e35ee0cf /indra
parent14f7ad902330051e1bb3ff17abbbfa05a0ebf7e8 (diff)
parent14a3c5187b644b084f0b0a024a8ac953e89f37de (diff)
merge
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llappearancemgr.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index f48755ecce..cfe9055aab 100755
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -1765,7 +1765,10 @@ void LLAppearanceMgr::updateCOF(const LLUUID& category, bool append)
// 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)
- bool keep_outfit_links = append;
+
+ // 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;
removeCategoryContents(cof, keep_outfit_links, link_waiter);
LL_DEBUGS("Avatar") << self_av_string() << "waiting for LLUpdateAppearanceOnDestroy" << LL_ENDL;