diff options
author | UbitUmarov | 2018-01-26 16:18:45 +0000 |
---|---|---|
committer | UbitUmarov | 2018-01-26 16:18:45 +0000 |
commit | e3f804e1d816910c1f144cce82a51e9b7622fc3c (patch) | |
tree | 9120c5be9c72cf5beeb02b7c35c67a858c72ad0b /OpenSim/Region/CoreModules/Framework | |
parent | try fix mantis 8283 (diff) | |
download | opensim-SC_OLD-e3f804e1d816910c1f144cce82a51e9b7622fc3c.zip opensim-SC_OLD-e3f804e1d816910c1f144cce82a51e9b7622fc3c.tar.gz opensim-SC_OLD-e3f804e1d816910c1f144cce82a51e9b7622fc3c.tar.bz2 opensim-SC_OLD-e3f804e1d816910c1f144cce82a51e9b7622fc3c.tar.xz |
try fix IAR load inventory links and objects owner
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs b/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs index df9d4f9..5d77201 100644 --- a/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs | |||
@@ -178,7 +178,7 @@ namespace OpenSim.Region.CoreModules.Framework.Library | |||
178 | InventoryArchiveReadRequest archread = new InventoryArchiveReadRequest(m_MockScene.InventoryService, m_MockScene.AssetService, m_MockScene.UserAccountService, uinfo, simpleName, iarFileName, false); | 178 | InventoryArchiveReadRequest archread = new InventoryArchiveReadRequest(m_MockScene.InventoryService, m_MockScene.AssetService, m_MockScene.UserAccountService, uinfo, simpleName, iarFileName, false); |
179 | try | 179 | try |
180 | { | 180 | { |
181 | HashSet<InventoryNodeBase> nodes = archread.Execute(); | 181 | Dictionary<UUID, InventoryNodeBase> nodes = archread.Execute(); |
182 | if (nodes != null && nodes.Count == 0) | 182 | if (nodes != null && nodes.Count == 0) |
183 | { | 183 | { |
184 | // didn't find the subfolder with the given name; place it on the top | 184 | // didn't find the subfolder with the given name; place it on the top |
@@ -188,7 +188,7 @@ namespace OpenSim.Region.CoreModules.Framework.Library | |||
188 | archread.Execute(); | 188 | archread.Execute(); |
189 | } | 189 | } |
190 | 190 | ||
191 | foreach (InventoryNodeBase node in nodes) | 191 | foreach (InventoryNodeBase node in nodes.Values) |
192 | FixPerms(node); | 192 | FixPerms(node); |
193 | } | 193 | } |
194 | catch (Exception e) | 194 | catch (Exception e) |