MAINT-6084 FIXED Replacing current outfit with contents of a non-outfit folder creates folder link in COF
parent
f532e115e4
commit
24c621190f
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue