diff options
author | Melanie | 2010-02-08 17:46:54 +0000 |
---|---|---|
committer | Melanie | 2010-02-08 17:46:54 +0000 |
commit | 65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3 (patch) | |
tree | b6ba633ad7f49aaa0c9df23c317aaa768b24770d /OpenSim/Services/InventoryService | |
parent | Make an exception report more clear. Fix a database access in Presence to (diff) | |
download | opensim-SC_OLD-65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3.zip opensim-SC_OLD-65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3.tar.gz opensim-SC_OLD-65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3.tar.bz2 opensim-SC_OLD-65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3.tar.xz |
Create root inventory folder with proper type (9) instead of -1
Diffstat (limited to 'OpenSim/Services/InventoryService')
-rw-r--r-- | OpenSim/Services/InventoryService/XInventoryService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs index 68a4d7f..bbd37d1 100644 --- a/OpenSim/Services/InventoryService/XInventoryService.cs +++ b/OpenSim/Services/InventoryService/XInventoryService.cs | |||
@@ -99,7 +99,7 @@ namespace OpenSim.Services.InventoryService | |||
99 | 99 | ||
100 | if (rootFolder == null) | 100 | if (rootFolder == null) |
101 | { | 101 | { |
102 | rootFolder = ConvertToOpenSim(CreateFolder(principalID, UUID.Zero, (int)AssetType.Folder, "My Inventory")); | 102 | rootFolder = ConvertToOpenSim(CreateFolder(principalID, UUID.Zero, (int)AssetType.RootFolder, "My Inventory")); |
103 | result = true; | 103 | result = true; |
104 | } | 104 | } |
105 | 105 | ||