diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs index 315daabe57..36bebe8629 100644 --- a/OpenSim/Framework/Communications/Capabilities/Caps.cs +++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs @@ -301,16 +301,7 @@ namespace OpenSim.Region.Capabilities llsdItem.item_id = invItem.ID; llsdItem.name = invItem.Name; llsdItem.parent_id = invItem.Folder; - llsdItem.type = Enum.GetName(typeof(AssetType), invItem.AssetType).ToLower(); - - // XXX Temporary fix for 'objects not appearing in inventory' problem. The asset type from libsecondlife is - // returning "primitive" when it should returning "object"! It looks like this is fixed in the latest libsecondlife, - // but our own libsl1550 doesn't have it either! - if ("primitive".Equals(llsdItem.type)) - { - llsdItem.type = "object"; - } - + llsdItem.type = Enum.GetName(typeof(AssetType), invItem.AssetType).ToLower(); llsdItem.inv_type = Enum.GetName(typeof(InventoryType), invItem.InvType).ToLower(); llsdItem.permissions = new LLSDPermissions(); llsdItem.permissions.creator_id = invItem.Creator; diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index 4abfc5ae7a..1250f534f2 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs @@ -326,7 +326,7 @@ namespace OpenSim.Framework.Communications folder.AgentID = user; folder.ID = LLUUID.Random(); folder.Name = "Objects"; - folder.Type = (short)AssetType.Primitive; + folder.Type = (short)AssetType.Object; folder.Version = 1; Folders.Add(folder.ID, folder); diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 87f7ace8a8..bc8fb5936a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -858,7 +858,7 @@ namespace OpenSim.Region.Environment.Scenes ((SceneObjectGroup) selectedEnt).GetPartName(selectedEnt.LocalId), ((SceneObjectGroup) selectedEnt).GetPartDescription(selectedEnt.LocalId), (sbyte) InventoryType.Object, - (sbyte) AssetType.Primitive, + (sbyte) AssetType.Object, Helpers.StringToField(sceneObjectXml)); AssetCache.AddAsset(asset); diff --git a/bin/libsecondlife.dll b/bin/libsecondlife.dll index ad163ef59f..532f4e32eb 100644 Binary files a/bin/libsecondlife.dll and b/bin/libsecondlife.dll differ diff --git a/libsecondlife2.dll b/libsecondlife2.dll deleted file mode 100644 index 532f4e32eb..0000000000 Binary files a/libsecondlife2.dll and /dev/null differ