diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 8a26df1..79c9309 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -939,8 +939,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
939 | sbyte invType, sbyte type, UUID olditemID) | 939 | sbyte invType, sbyte type, UUID olditemID) |
940 | { | 940 | { |
941 | // m_log.DebugFormat( | 941 | // m_log.DebugFormat( |
942 | // "[AGENT INVENTORY]: Received request from {0} to create inventory item link {1} in folder {2} pointing to {3}", | 942 | // "[AGENT INVENTORY]: Received request from {0} to create inventory item link {1} in folder {2} pointing to {3}, assetType {4}, inventoryType {5}", |
943 | // remoteClient.Name, name, folderID, olditemID); | 943 | // remoteClient.Name, name, folderID, olditemID, (AssetType)type, (InventoryType)invType); |
944 | 944 | ||
945 | if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) | 945 | if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) |
946 | return; | 946 | return; |
@@ -973,10 +973,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
973 | asset.Type = type; | 973 | asset.Type = type; |
974 | asset.Name = name; | 974 | asset.Name = name; |
975 | asset.Description = description; | 975 | asset.Description = description; |
976 | 976 | ||
977 | CreateNewInventoryItem( | 977 | CreateNewInventoryItem( |
978 | remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID, name, 0, callbackID, asset, invType, | 978 | remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID, name, 0, callbackID, asset, invType, |
979 | (uint)PermissionMask.All, (uint)PermissionMask.All, (uint)PermissionMask.All, | 979 | (uint)PermissionMask.All, (uint)PermissionMask.All, (uint)PermissionMask.All, |
980 | (uint)PermissionMask.All, (uint)PermissionMask.All, Util.UnixTimeSinceEpoch()); | 980 | (uint)PermissionMask.All, (uint)PermissionMask.All, Util.UnixTimeSinceEpoch()); |
981 | } | 981 | } |
982 | else | 982 | else |