[FIXED] Assertion failure warning when dropping an attachment
--HG-- branch : RLVamaster
parent
b233db99fe
commit
f1e9cfd70d
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue