minor: Fix some CR line endings in Scene.Inventory.cs
parent
a846e63c70
commit
25dd30ddb6
|
@ -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);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue