Removed old RLV code. Plugged holes with RLVa.
This commit is contained in:
@@ -4119,13 +4119,10 @@ void LLObjectBridge::openItem()
|
||||
}
|
||||
if (avatar->isWearingAttachment(mUUID))
|
||||
{
|
||||
#ifdef LL_RRINTERFACE_H //MK
|
||||
if (gRRenabled && !gAgent.mRRInterface.canDetach(avatar->getWornAttachment(mUUID)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif //mk
|
||||
performAction(NULL, NULL, "detach");
|
||||
// [RLVa:KB]
|
||||
if ( !(rlv_handler_t::isEnabled()) || (gRlvAttachmentLocks.canDetach(getItem())))
|
||||
performAction(NULL, NULL, "detach");
|
||||
// [/RLVa:KB]
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user