minor: Fix some CR line endings in Scene.Inventory.cs

0.8.1-post-fixes
Justin Clark-Casey (justincc) 2015-01-21 00:33:54 +00:00
parent a846e63c70
commit 25dd30ddb6
1 changed files with 8 additions and 8 deletions

View File

@ -40,7 +40,7 @@ using OpenSim.Framework;
using OpenSim.Region.Framework; using OpenSim.Region.Framework;
using OpenSim.Framework.Client; using OpenSim.Framework.Client;
using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes.Serialization; using OpenSim.Region.Framework.Scenes.Serialization;
using OpenSim.Services.Interfaces; using OpenSim.Services.Interfaces;
using PermissionMask = OpenSim.Framework.PermissionMask; using PermissionMask = OpenSim.Framework.PermissionMask;
@ -127,11 +127,11 @@ namespace OpenSim.Region.Framework.Scenes
return false; return false;
} }
} }
public bool AddInventoryItem(InventoryItemBase item) public bool AddInventoryItem(InventoryItemBase item)
{ {
return AddInventoryItem(item, true); return AddInventoryItem(item, true);
} }
/// <summary> /// <summary>
@ -1074,7 +1074,7 @@ namespace OpenSim.Region.Framework.Scenes
// } // }
CreateNewInventoryItem( CreateNewInventoryItem(
remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID, remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID,
name, description, 0, callbackID, olditemID, type, invType, 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, (uint)PermissionMask.All,
(uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All | (uint)PermissionMask.Export, Util.UnixTimeSinceEpoch(), (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); bool canDelete = EventManager.TriggerDeRezRequested(remoteClient, deleteGroups, action);
if (permissionToTake && (action != DeRezAction.Delete || this.m_useTrashOnDelete)) if (permissionToTake && (action != DeRezAction.Delete || this.m_useTrashOnDelete))