FIRE-17217: Match behavior regarding folder links in COF with V3; It does not logically make any sense to put a link to a non-outfit folder in there, but not doing as everyone else seems to create issues when switching viewers

meow-7.2.2
Ansariel 2016-01-23 13:50:18 +01:00
parent 0da1263a21
commit 5583805b12
1 changed files with 1 additions and 4 deletions

View File

@ -2256,10 +2256,7 @@ void LLAppearanceMgr::updateCOF(LLInventoryModel::item_array_t& body_items_new,
const LLUUID& base_id = (append) ? getBaseOutfitUUID() : idOutfit;
LLViewerInventoryCategory* base_cat = (base_id.notNull()) ? gInventory.getCategory(base_id) : NULL;
// [/RLVa:KB]
// if (base_cat)
// [SL:KB] - Patch: Appearance-Misc | Checked: 2015-06-27 (Catznip-3.7)
if ((base_cat) && (base_cat->getPreferredType() == LLFolderType::FT_OUTFIT))
// [/SL:KB]
if (base_cat)
{
LLSD base_contents;
base_contents["name"] = base_cat->getName();