From 5c62f5776e6543ab55c97dc7a3c9b8bff653516d Mon Sep 17 00:00:00 2001 From: Kitty Barnett Date: Sat, 30 Jul 2016 11:14:44 +0200 Subject: [PATCH] [FIXED] Can't add wear attachments specifying an attachment point in the name if there's currently a locked attachment on that point --HG-- branch : RLVa --- indra/newview/llinventorybridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 45a7ef8f5c..802320573d 100755 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -6193,7 +6193,7 @@ void rez_attachment(LLViewerInventoryItem* item, LLViewerJointAttachment* attach attachment = RlvAttachPtLookup::getAttachPoint(item); } - if ( (RlvActions::isRlvEnabled()) && (!rlvPredCanWearItem(item, RLV_WEAR_REPLACE)) ) + if ( (RlvActions::isRlvEnabled()) && (!rlvPredCanWearItem(item, (replace) ? RLV_WEAR_REPLACE : RLV_WEAR_ADD)) ) { return; }