change taskInventory copy/move to agents inventory rules

This commit is contained in:
UbitUmarov
2017-05-03 16:03:26 +01:00
parent 8a330bc45d
commit 94bb6d965e
2 changed files with 19 additions and 17 deletions

View File

@@ -1388,11 +1388,7 @@ namespace OpenSim.Region.Framework.Scenes
}
if (!Permissions.CanCopyObjectInventory(itemId, part.UUID, remoteClient.AgentId))
{
// check also if we can delete the no copy item
if(!Permissions.CanEditObject(part.UUID, remoteClient.AgentId))
return;
}
return;
string message;
InventoryItemBase item = MoveTaskInventoryItem(remoteClient, folderId, part, itemId, out message);
@@ -1769,7 +1765,6 @@ namespace OpenSim.Region.Framework.Scenes
itemInfo.CurrentPermissions &= currentItem.BasePermissions;
itemInfo.NextPermissions &= currentItem.BasePermissions;
}
}
else
{