From f1e9cfd70ddc788e4437a8762667dfd5bdc3b658 Mon Sep 17 00:00:00 2001 From: Kitty Barnett Date: Sun, 20 Nov 2016 15:11:28 +0100 Subject: [PATCH] [FIXED] Assertion failure warning when dropping an attachment --HG-- branch : RLVa --- indra/newview/rlvcommon.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/rlvcommon.cpp b/indra/newview/rlvcommon.cpp index f93216e5ca..92fb4bcc4d 100644 --- a/indra/newview/rlvcommon.cpp +++ b/indra/newview/rlvcommon.cpp @@ -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)); }