[FIXED] Assertion failure warning when dropping an attachment

--HG--
branch : RLVa
master
Kitty Barnett 2016-11-20 15:11:28 +01:00
parent b233db99fe
commit f1e9cfd70d
1 changed files with 4 additions and 0 deletions

View File

@ -795,6 +795,10 @@ bool rlvPredCanRemoveItem(const LLViewerInventoryItem* pItem)
return gRlvAttachmentLocks.canDetach(pItem);
case LLAssetType::AT_GESTURE:
return true;
case LLAssetType::AT_LINK:
case LLAssetType::AT_LINK_FOLDER:
// Broken links can always be removed since they don't represent a worn item
return true;
default:
RLV_ASSERT(!RlvForceWear::isWearableItem(pItem));
}