diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2016-02-01 13:00:58 +0200 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2016-02-01 13:00:58 +0200 |
commit | 24c621190f0c63dced09b0ec166effb8cbb47efe (patch) | |
tree | d762e76bc249fa0af12355cef84edeb00dbfc278 /indra/newview/llappearancemgr.cpp | |
parent | f532e115e4751a10c6c976e411a0dbcbc4956f18 (diff) |
MAINT-6084 FIXED Replacing current outfit with contents of a non-outfit folder creates folder link in COF
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rwxr-xr-x | indra/newview/llappearancemgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 3d9b1a72a8..cec019d46d 100755 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -2055,7 +2055,7 @@ void LLAppearanceMgr::updateCOF(const LLUUID& category, bool append) } const LLUUID& base_id = append ? getBaseOutfitUUID() : category; LLViewerInventoryCategory *base_cat = gInventory.getCategory(base_id); - if (base_cat) + if (base_cat && (base_cat->getPreferredType() == LLFolderType::FT_OUTFIT)) { LLSD base_contents; base_contents["name"] = base_cat->getName(); |