Merged with RLVa tip

meow-7.2.2
Kitty Barnett 2016-07-30 11:19:10 +02:00
commit 790ec9245a
1 changed files with 1 additions and 1 deletions

View File

@ -6554,7 +6554,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;
}