diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-05-16 14:40:04 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-05-16 14:40:04 -0400 |
commit | 14a3c5187b644b084f0b0a024a8ac953e89f37de (patch) | |
tree | b6ffe2fd5f36804cdc1bb218aad5e12ae9eb495a /indra | |
parent | 8a4add76b44bab32633c5432f8852e5351770c91 (diff) |
SH-4175 WIP - removed a case where we request to delete the base outfit link twice when changing outfits
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llappearancemgr.cpp | 5 |
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; |