From 2cf0be7d58b9b43123e0410e6efa1c774d9d26b3 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Mon, 1 Dec 2008 19:23:12 +0000
Subject: * Assume that asset data in a reset inventory post is not inlined by
default * This means that the xml of a get request can be used as the input
with a few value tweaks, instead of having to explicitly put inline="false"
in the output xml
---
OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
(limited to 'OpenSim/ApplicationPlugins/Rest/Inventory')
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs
index 11ae75f..913eb0c 100644
--- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs
+++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs
@@ -1243,7 +1243,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
/// HTTP service request work area
/// The folder to be searched (parent)
/// pretty print indentation
-
private void formatInventory(InventoryRequestData rdata, InventoryFolderBase folder, string indent)
{
if (Rest.DEBUG)
@@ -1325,7 +1324,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
rdata.writer.WriteAttributeString("everyone", String.Empty, i.EveryOnePermissions.ToString("X"));
rdata.writer.WriteAttributeString("base", String.Empty, i.BasePermissions.ToString("X"));
rdata.writer.WriteEndElement();
-
+
rdata.writer.WriteElementString("Asset", i.AssetID.ToString());
rdata.writer.WriteEndElement();
@@ -1795,7 +1794,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
bool local = false;
// This is not a persistent attribute
- bool inline = true;
+ bool inline = false;
UUID uuid = UUID.Zero;
--
cgit v1.1