try fix IAR load inventory links and objects owner

This commit is contained in:
UbitUmarov
2018-01-26 16:18:45 +00:00
parent af9bff7ed2
commit e3f804e1d8
4 changed files with 102 additions and 63 deletions

View File

@@ -178,7 +178,7 @@ namespace OpenSim.Region.CoreModules.Framework.Library
InventoryArchiveReadRequest archread = new InventoryArchiveReadRequest(m_MockScene.InventoryService, m_MockScene.AssetService, m_MockScene.UserAccountService, uinfo, simpleName, iarFileName, false);
try
{
HashSet<InventoryNodeBase> nodes = archread.Execute();
Dictionary<UUID, InventoryNodeBase> nodes = archread.Execute();
if (nodes != null && nodes.Count == 0)
{
// didn't find the subfolder with the given name; place it on the top
@@ -188,7 +188,7 @@ namespace OpenSim.Region.CoreModules.Framework.Library
archread.Execute();
}
foreach (InventoryNodeBase node in nodes)
foreach (InventoryNodeBase node in nodes.Values)
FixPerms(node);
}
catch (Exception e)