diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 1d762c4..f5b509f 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -702,6 +702,12 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
702 | InventoryFolderBase f = new InventoryFolderBase(so.FromFolderID, userID); | 702 | InventoryFolderBase f = new InventoryFolderBase(so.FromFolderID, userID); |
703 | if (f != null) | 703 | if (f != null) |
704 | folder = m_Scene.InventoryService.GetFolder(f); | 704 | folder = m_Scene.InventoryService.GetFolder(f); |
705 | |||
706 | if(folder.Type == 14 || folder.Type == 16) | ||
707 | { | ||
708 | // folder.Type = 6; | ||
709 | folder = m_Scene.InventoryService.GetFolderForType(userID, AssetType.Object); | ||
710 | } | ||
705 | } | 711 | } |
706 | } | 712 | } |
707 | 713 | ||