aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Communications/Capabilities/Caps.cs11
-rw-r--r--OpenSim/Framework/Communications/InventoryServiceBase.cs2
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs2
-rw-r--r--bin/libsecondlife.dllbin1568768 -> 1568768 bytes
-rw-r--r--libsecondlife2.dllbin1568768 -> 0 bytes
5 files changed, 3 insertions, 12 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs
index 315daab..36bebe8 100644
--- a/OpenSim/Framework/Communications/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs
@@ -301,16 +301,7 @@ namespace OpenSim.Region.Capabilities
301 llsdItem.item_id = invItem.ID; 301 llsdItem.item_id = invItem.ID;
302 llsdItem.name = invItem.Name; 302 llsdItem.name = invItem.Name;
303 llsdItem.parent_id = invItem.Folder; 303 llsdItem.parent_id = invItem.Folder;
304 llsdItem.type = Enum.GetName(typeof(AssetType), invItem.AssetType).ToLower(); 304 llsdItem.type = Enum.GetName(typeof(AssetType), invItem.AssetType).ToLower();
305
306 // XXX Temporary fix for 'objects not appearing in inventory' problem. The asset type from libsecondlife is
307 // returning "primitive" when it should returning "object"! It looks like this is fixed in the latest libsecondlife,
308 // but our own libsl1550 doesn't have it either!
309 if ("primitive".Equals(llsdItem.type))
310 {
311 llsdItem.type = "object";
312 }
313
314 llsdItem.inv_type = Enum.GetName(typeof(InventoryType), invItem.InvType).ToLower(); 305 llsdItem.inv_type = Enum.GetName(typeof(InventoryType), invItem.InvType).ToLower();
315 llsdItem.permissions = new LLSDPermissions(); 306 llsdItem.permissions = new LLSDPermissions();
316 llsdItem.permissions.creator_id = invItem.Creator; 307 llsdItem.permissions.creator_id = invItem.Creator;
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs
index 4abfc5a..1250f53 100644
--- a/OpenSim/Framework/Communications/InventoryServiceBase.cs
+++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs
@@ -326,7 +326,7 @@ namespace OpenSim.Framework.Communications
326 folder.AgentID = user; 326 folder.AgentID = user;
327 folder.ID = LLUUID.Random(); 327 folder.ID = LLUUID.Random();
328 folder.Name = "Objects"; 328 folder.Name = "Objects";
329 folder.Type = (short)AssetType.Primitive; 329 folder.Type = (short)AssetType.Object;
330 folder.Version = 1; 330 folder.Version = 1;
331 Folders.Add(folder.ID, folder); 331 Folders.Add(folder.ID, folder);
332 332
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 87f7ace..bc8fb59 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
858 ((SceneObjectGroup) selectedEnt).GetPartName(selectedEnt.LocalId), 858 ((SceneObjectGroup) selectedEnt).GetPartName(selectedEnt.LocalId),
859 ((SceneObjectGroup) selectedEnt).GetPartDescription(selectedEnt.LocalId), 859 ((SceneObjectGroup) selectedEnt).GetPartDescription(selectedEnt.LocalId),
860 (sbyte) InventoryType.Object, 860 (sbyte) InventoryType.Object,
861 (sbyte) AssetType.Primitive, 861 (sbyte) AssetType.Object,
862 Helpers.StringToField(sceneObjectXml)); 862 Helpers.StringToField(sceneObjectXml));
863 AssetCache.AddAsset(asset); 863 AssetCache.AddAsset(asset);
864 864
diff --git a/bin/libsecondlife.dll b/bin/libsecondlife.dll
index ad163ef..532f4e3 100644
--- a/bin/libsecondlife.dll
+++ b/bin/libsecondlife.dll
Binary files differ
diff --git a/libsecondlife2.dll b/libsecondlife2.dll
deleted file mode 100644
index 532f4e3..0000000
--- a/libsecondlife2.dll
+++ /dev/null
Binary files differ