diff options
author | Diva Canto | 2016-05-16 19:36:20 -0700 |
---|---|---|
committer | Diva Canto | 2016-05-16 19:36:20 -0700 |
commit | 9e21647011ee733cc244ea948e5beabba13e4cd3 (patch) | |
tree | cbe40474093742a1d8775636ed5af8428f73ca85 /OpenSim/Region/CoreModules/Framework/InventoryAccess | |
parent | Fix crash due to setting Thread.name after thread start. (diff) | |
download | opensim-SC_OLD-9e21647011ee733cc244ea948e5beabba13e4cd3.zip opensim-SC_OLD-9e21647011ee733cc244ea948e5beabba13e4cd3.tar.gz opensim-SC_OLD-9e21647011ee733cc244ea948e5beabba13e4cd3.tar.bz2 opensim-SC_OLD-9e21647011ee733cc244ea948e5beabba13e4cd3.tar.xz |
Mantis #7878 -- Landmarks were not being created in HGSuitcaseInventory
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/InventoryAccess')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index d4a929c..c2002a3 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -187,6 +187,13 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
187 | InventoryFolderBase f = new InventoryFolderBase(folderID, remoteClient.AgentId); | 187 | InventoryFolderBase f = new InventoryFolderBase(folderID, remoteClient.AgentId); |
188 | InventoryFolderBase folder = m_Scene.InventoryService.GetFolder(f); | 188 | InventoryFolderBase folder = m_Scene.InventoryService.GetFolder(f); |
189 | 189 | ||
190 | if (folder == null) | ||
191 | { | ||
192 | folder = m_Scene.InventoryService.GetFolderForType(remoteClient.AgentId, (FolderType)invType); | ||
193 | if (folder != null) | ||
194 | m_log.DebugFormat("[INVENTORY ACCESS MODULE]: Requested folder not found but found folder for type {0}", invType); | ||
195 | } | ||
196 | |||
190 | if (folder == null || folder.Owner != remoteClient.AgentId) | 197 | if (folder == null || folder.Owner != remoteClient.AgentId) |
191 | return; | 198 | return; |
192 | 199 | ||