diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 8bd0c0adbf..55db968949 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -40,7 +40,7 @@ using OpenSim.Framework; using OpenSim.Region.Framework; using OpenSim.Framework.Client; using OpenSim.Region.Framework.Interfaces; -using OpenSim.Region.Framework.Scenes.Serialization; +using OpenSim.Region.Framework.Scenes.Serialization; using OpenSim.Services.Interfaces; using PermissionMask = OpenSim.Framework.PermissionMask; @@ -127,11 +127,11 @@ namespace OpenSim.Region.Framework.Scenes return false; } - } - - public bool AddInventoryItem(InventoryItemBase item) - { - return AddInventoryItem(item, true); + } + + public bool AddInventoryItem(InventoryItemBase item) + { + return AddInventoryItem(item, true); } /// @@ -1074,7 +1074,7 @@ namespace OpenSim.Region.Framework.Scenes // } CreateNewInventoryItem( - remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID, + remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID, name, description, 0, callbackID, olditemID, type, invType, (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All, (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All | (uint)PermissionMask.Export, Util.UnixTimeSinceEpoch(), @@ -2183,7 +2183,7 @@ namespace OpenSim.Region.Framework.Scenes } } - // OK, we're done with permissions. Let's check if any part of the code prevents the objects from being deleted + // OK, we're done with permissions. Let's check if any part of the code prevents the objects from being deleted bool canDelete = EventManager.TriggerDeRezRequested(remoteClient, deleteGroups, action); if (permissionToTake && (action != DeRezAction.Delete || this.m_useTrashOnDelete))