SL-10510 Allow copy of worn items

meow-7.2.2
andreykproductengine 2019-04-02 17:32:29 +03:00
parent 8b0c77634b
commit eb6a7cde9d
1 changed files with 0 additions and 6 deletions

View File

@ -2101,12 +2101,6 @@ BOOL LLItemBridge::isItemCopyable() const
LLViewerInventoryItem* item = getItem();
if (item)
{
// Can't copy worn objects. DEV-15183
if(get_is_item_worn(mUUID))
{
return FALSE;
}
return item->getPermissions().allowCopyBy(gAgent.getID()) || gSavedSettings.getBOOL("InventoryLinking");
}
return FALSE;