aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/Inventory/XInventoryConnector.cs
diff options
context:
space:
mode:
authorSean McNamara2011-04-26 11:45:38 -0400
committerSean McNamara2011-04-26 11:45:38 -0400
commit587aa91e36216e75f9b293b57c5b974d31e5ec54 (patch)
treea1c2a4e78cb6414cdebb93c46552dce5bc8e7ea0 /OpenSim/Services/Connectors/Inventory/XInventoryConnector.cs
parentWait for OnOarFileSaved event callback before executing script (diff)
parentRemoved stale client components: MXP and VWoHTTP. (diff)
downloadopensim-SC_OLD-587aa91e36216e75f9b293b57c5b974d31e5ec54.zip
opensim-SC_OLD-587aa91e36216e75f9b293b57c5b974d31e5ec54.tar.gz
opensim-SC_OLD-587aa91e36216e75f9b293b57c5b974d31e5ec54.tar.bz2
opensim-SC_OLD-587aa91e36216e75f9b293b57c5b974d31e5ec54.tar.xz
Merge git://opensimulator.org/git/opensim
Diffstat (limited to 'OpenSim/Services/Connectors/Inventory/XInventoryConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/Inventory/XInventoryConnector.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryConnector.cs
index cd9f2bf..a662abb 100644
--- a/OpenSim/Services/Connectors/Inventory/XInventoryConnector.cs
+++ b/OpenSim/Services/Connectors/Inventory/XInventoryConnector.cs
@@ -158,7 +158,10 @@ namespace OpenSim.Services.Connectors
158 public InventoryCollection GetFolderContent(UUID principalID, UUID folderID) 158 public InventoryCollection GetFolderContent(UUID principalID, UUID folderID)
159 { 159 {
160 InventoryCollection inventory = new InventoryCollection(); 160 InventoryCollection inventory = new InventoryCollection();
161 161 inventory.Folders = new List<InventoryFolderBase>();
162 inventory.Items = new List<InventoryItemBase>();
163 inventory.UserID = principalID;
164
162 try 165 try
163 { 166 {
164 Dictionary<string,object> ret = MakeRequest("GETFOLDERCONTENT", 167 Dictionary<string,object> ret = MakeRequest("GETFOLDERCONTENT",
@@ -172,11 +175,6 @@ namespace OpenSim.Services.Connectors
172 if (ret.Count == 0) 175 if (ret.Count == 0)
173 return null; 176 return null;
174 177
175
176 inventory.Folders = new List<InventoryFolderBase>();
177 inventory.Items = new List<InventoryItemBase>();
178 inventory.UserID = principalID;
179
180 Dictionary<string,object> folders = 178 Dictionary<string,object> folders =
181 (Dictionary<string,object>)ret["FOLDERS"]; 179 (Dictionary<string,object>)ret["FOLDERS"];
182 Dictionary<string,object> items = 180 Dictionary<string,object> items =