diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 4f5a65e..9963225 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -834,7 +834,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
834 | ScenePresence presence; | 834 | ScenePresence presence; |
835 | if (TryGetScenePresence(remoteClient.AgentId, out presence)) | 835 | if (TryGetScenePresence(remoteClient.AgentId, out presence)) |
836 | { | 836 | { |
837 | byte[] data = null; | 837 | // byte[] data = null; |
838 | 838 | ||
839 | AssetBase asset = new AssetBase(); | 839 | AssetBase asset = new AssetBase(); |
840 | asset.FullID = olditemID; | 840 | asset.FullID = olditemID; |
@@ -842,8 +842,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
842 | asset.Name = name; | 842 | asset.Name = name; |
843 | asset.Description = description; | 843 | asset.Description = description; |
844 | 844 | ||
845 | CreateNewInventoryItem(remoteClient, remoteClient.AgentId.ToString(), folderID, name, 0, callbackID, asset, invType, (uint)PermissionMask.All, (uint)PermissionMask.All, (uint)PermissionMask.All, (uint)PermissionMask.All, (uint)PermissionMask.All, Util.UnixTimeSinceEpoch()); | 845 | CreateNewInventoryItem( |
846 | 846 | remoteClient, remoteClient.AgentId.ToString(), folderID, name, 0, callbackID, asset, invType, | |
847 | (uint)PermissionMask.All, (uint)PermissionMask.All, (uint)PermissionMask.All, | ||
848 | (uint)PermissionMask.All, (uint)PermissionMask.All, Util.UnixTimeSinceEpoch()); | ||
847 | } | 849 | } |
848 | else | 850 | else |
849 | { | 851 | { |
@@ -876,7 +878,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
876 | InventoryService.DeleteFolders(remoteClient.AgentId, folderIDs); | 878 | InventoryService.DeleteFolders(remoteClient.AgentId, folderIDs); |
877 | } | 879 | } |
878 | 880 | ||
879 | |||
880 | /// <summary> | 881 | /// <summary> |
881 | /// Send the details of a prim's inventory to the client. | 882 | /// Send the details of a prim's inventory to the client. |
882 | /// </summary> | 883 | /// </summary> |