diff options
author | Diva Canto | 2013-07-06 18:02:17 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-06 18:02:17 -0700 |
commit | 391633c072792fc36a188d6fa88e994fa150807d (patch) | |
tree | 9c1230ae05a653cc8c55c8629e32601d204247d4 /OpenSim/Region/CoreModules/ServiceConnectorsOut | |
parent | MORE DEBUG. DON"T USE THIS. (diff) | |
download | opensim-SC_OLD-391633c072792fc36a188d6fa88e994fa150807d.zip opensim-SC_OLD-391633c072792fc36a188d6fa88e994fa150807d.tar.gz opensim-SC_OLD-391633c072792fc36a188d6fa88e994fa150807d.tar.bz2 opensim-SC_OLD-391633c072792fc36a188d6fa88e994fa150807d.tar.xz |
Some more fixes on strange behaviors of Unknown User, esp. related to large messy inventories and esp. related to kokua
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs index 8f41355..7f78076 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs | |||
@@ -195,19 +195,20 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
195 | { | 195 | { |
196 | InventoryCollection invCol = m_RemoteConnector.GetFolderContent(userID, folderID); | 196 | InventoryCollection invCol = m_RemoteConnector.GetFolderContent(userID, folderID); |
197 | 197 | ||
198 | if (invCol != null && UserManager != null) | 198 | // Commenting this for now, because it's causing more grief than good |
199 | { | 199 | //if (invCol != null && UserManager != null) |
200 | // Protect ourselves against the caller subsequently modifying the items list | 200 | //{ |
201 | List<InventoryItemBase> items = new List<InventoryItemBase>(invCol.Items); | 201 | // // Protect ourselves against the caller subsequently modifying the items list |
202 | 202 | // List<InventoryItemBase> items = new List<InventoryItemBase>(invCol.Items); | |
203 | if (items != null && items.Count > 0) | 203 | |
204 | //Util.FireAndForget(delegate | 204 | // if (items != null && items.Count > 0) |
205 | //{ | 205 | // //Util.FireAndForget(delegate |
206 | foreach (InventoryItemBase item in items) | 206 | // //{ |
207 | if (!string.IsNullOrEmpty(item.CreatorData)) | 207 | // foreach (InventoryItemBase item in items) |
208 | UserManager.AddUser(item.CreatorIdAsUuid, item.CreatorData); | 208 | // if (!string.IsNullOrEmpty(item.CreatorData)) |
209 | //}); | 209 | // UserManager.AddUser(item.CreatorIdAsUuid, item.CreatorData); |
210 | } | 210 | // //}); |
211 | //} | ||
211 | 212 | ||
212 | return invCol; | 213 | return invCol; |
213 | } | 214 | } |