diff options
author | Justin Clark-Casey (justincc) | 2015-01-21 00:33:54 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2015-01-21 00:33:54 +0000 |
commit | 25dd30ddb6ef883237da8cc5bbc83519471819ce (patch) | |
tree | 72380cc1f18974c066b565dd1613a13b258dfcc5 | |
parent | If [Permissions] serverside_object_permissions = false or the undocumented pr... (diff) | |
download | opensim-SC_OLD-25dd30ddb6ef883237da8cc5bbc83519471819ce.zip opensim-SC_OLD-25dd30ddb6ef883237da8cc5bbc83519471819ce.tar.gz opensim-SC_OLD-25dd30ddb6ef883237da8cc5bbc83519471819ce.tar.bz2 opensim-SC_OLD-25dd30ddb6ef883237da8cc5bbc83519471819ce.tar.xz |
minor: Fix some CR line endings in Scene.Inventory.cs
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 8bd0c0a..55db968 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -40,7 +40,7 @@ using OpenSim.Framework; | |||
40 | using OpenSim.Region.Framework; | 40 | using OpenSim.Region.Framework; |
41 | using OpenSim.Framework.Client; | 41 | using OpenSim.Framework.Client; |
42 | using OpenSim.Region.Framework.Interfaces; | 42 | using OpenSim.Region.Framework.Interfaces; |
43 | using OpenSim.Region.Framework.Scenes.Serialization; | 43 | using OpenSim.Region.Framework.Scenes.Serialization; |
44 | using OpenSim.Services.Interfaces; | 44 | using OpenSim.Services.Interfaces; |
45 | using PermissionMask = OpenSim.Framework.PermissionMask; | 45 | using PermissionMask = OpenSim.Framework.PermissionMask; |
46 | 46 | ||
@@ -127,11 +127,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
127 | 127 | ||
128 | return false; | 128 | return false; |
129 | } | 129 | } |
130 | } | 130 | } |
131 | 131 | ||
132 | public bool AddInventoryItem(InventoryItemBase item) | 132 | public bool AddInventoryItem(InventoryItemBase item) |
133 | { | 133 | { |
134 | return AddInventoryItem(item, true); | 134 | return AddInventoryItem(item, true); |
135 | } | 135 | } |
136 | 136 | ||
137 | /// <summary> | 137 | /// <summary> |
@@ -1074,7 +1074,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1074 | // } | 1074 | // } |
1075 | 1075 | ||
1076 | CreateNewInventoryItem( | 1076 | CreateNewInventoryItem( |
1077 | remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID, | 1077 | remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID, |
1078 | name, description, 0, callbackID, olditemID, type, invType, | 1078 | name, description, 0, callbackID, olditemID, type, invType, |
1079 | (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All, | 1079 | (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All, |
1080 | (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All | (uint)PermissionMask.Export, Util.UnixTimeSinceEpoch(), | 1080 | (uint)PermissionMask.All | (uint)PermissionMask.Export, (uint)PermissionMask.All | (uint)PermissionMask.Export, Util.UnixTimeSinceEpoch(), |
@@ -2183,7 +2183,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2183 | } | 2183 | } |
2184 | } | 2184 | } |
2185 | 2185 | ||
2186 | // OK, we're done with permissions. Let's check if any part of the code prevents the objects from being deleted | 2186 | // OK, we're done with permissions. Let's check if any part of the code prevents the objects from being deleted |
2187 | bool canDelete = EventManager.TriggerDeRezRequested(remoteClient, deleteGroups, action); | 2187 | bool canDelete = EventManager.TriggerDeRezRequested(remoteClient, deleteGroups, action); |
2188 | 2188 | ||
2189 | if (permissionToTake && (action != DeRezAction.Delete || this.m_useTrashOnDelete)) | 2189 | if (permissionToTake && (action != DeRezAction.Delete || this.m_useTrashOnDelete)) |