aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs
diff options
context:
space:
mode:
authorMike Mazur2009-03-05 08:30:15 +0000
committerMike Mazur2009-03-05 08:30:15 +0000
commit6994d9239d5181608eddad6d237f0719c17f7414 (patch)
tree5b5f4167ca7ecd94fc6c3bea630f0047e9252979 /OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs
parentImplemented all Inventory frontend handlers. (diff)
downloadopensim-SC_OLD-6994d9239d5181608eddad6d237f0719c17f7414.zip
opensim-SC_OLD-6994d9239d5181608eddad6d237f0719c17f7414.tar.gz
opensim-SC_OLD-6994d9239d5181608eddad6d237f0719c17f7414.tar.bz2
opensim-SC_OLD-6994d9239d5181608eddad6d237f0719c17f7414.tar.xz
Fix creating inventory items and folders.
The order of deserialization needed to be changed. Also corrected a bug that caused no inventory items to be returned on login.
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs
index 930e4f6..2239b87 100644
--- a/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs
+++ b/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimInventoryStoragePlugin.cs
@@ -276,7 +276,7 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim
276 if (Utils.TryGetOpenSimUUID(owner, out ownerID)) 276 if (Utils.TryGetOpenSimUUID(owner, out ownerID))
277 { 277 {
278 inventory.UserID = ownerID; 278 inventory.UserID = ownerID;
279 inventory.Folders = new Dictionary<UUID, InventoryFolderWithChildren>(); 279 inventory.Items = new Dictionary<UUID, InventoryItemBase>();
280 280
281 foreach (InventoryFolderWithChildren folder in folders) 281 foreach (InventoryFolderWithChildren folder in folders)
282 { 282 {