FIRE-6627: The 'Add' option is missing from SOME clothing items in inventory; Fix provided by Oren Hurvitz

Ansariel 2014-10-06 00:17:47 +02:00
parent 075f83985e
commit e68e2cb62d
1 changed files with 4 additions and 1 deletions

View File

@ -1280,7 +1280,10 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
{
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
}
new_listener = new LLWearableBridge(inventory, root, uuid, asset_type, inv_type, (LLWearableType::EType)flags);
// <FS> FIRE-6627: Clear high bits to determine proper wearable type
//new_listener = new LLWearableBridge(inventory, root, uuid, asset_type, inv_type, (LLWearableType::EType)flags);
new_listener = new LLWearableBridge(inventory, root, uuid, asset_type, inv_type, LLWearableType::EType(flags & LLInventoryItemFlags::II_FLAGS_WEARABLES_MASK));
// </FS>
break;
case LLAssetType::AT_CATEGORY:
if (actual_asset_type == LLAssetType::AT_LINK_FOLDER)