summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2016-02-01 13:00:58 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2016-02-01 13:00:58 +0200
commit24c621190f0c63dced09b0ec166effb8cbb47efe (patch)
treed762e76bc249fa0af12355cef84edeb00dbfc278
parentf532e115e4751a10c6c976e411a0dbcbc4956f18 (diff)
MAINT-6084 FIXED Replacing current outfit with contents of a non-outfit folder creates folder link in COF
-rwxr-xr-xindra/newview/llappearancemgr.cpp2
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();