mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Some more fixes on strange behaviors of Unknown User, esp. related to large messy inventories and esp. related to kokua
This commit is contained in:
@@ -195,19 +195,20 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
|
||||
{
|
||||
InventoryCollection invCol = m_RemoteConnector.GetFolderContent(userID, folderID);
|
||||
|
||||
if (invCol != null && UserManager != null)
|
||||
{
|
||||
// Protect ourselves against the caller subsequently modifying the items list
|
||||
List<InventoryItemBase> items = new List<InventoryItemBase>(invCol.Items);
|
||||
// Commenting this for now, because it's causing more grief than good
|
||||
//if (invCol != null && UserManager != null)
|
||||
//{
|
||||
// // Protect ourselves against the caller subsequently modifying the items list
|
||||
// List<InventoryItemBase> items = new List<InventoryItemBase>(invCol.Items);
|
||||
|
||||
if (items != null && items.Count > 0)
|
||||
//Util.FireAndForget(delegate
|
||||
//{
|
||||
foreach (InventoryItemBase item in items)
|
||||
if (!string.IsNullOrEmpty(item.CreatorData))
|
||||
UserManager.AddUser(item.CreatorIdAsUuid, item.CreatorData);
|
||||
//});
|
||||
}
|
||||
// if (items != null && items.Count > 0)
|
||||
// //Util.FireAndForget(delegate
|
||||
// //{
|
||||
// foreach (InventoryItemBase item in items)
|
||||
// if (!string.IsNullOrEmpty(item.CreatorData))
|
||||
// UserManager.AddUser(item.CreatorIdAsUuid, item.CreatorData);
|
||||
// //});
|
||||
//}
|
||||
|
||||
return invCol;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user