aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-02-08 17:46:54 +0000
committerMelanie2010-02-08 17:46:54 +0000
commit65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3 (patch)
treeb6ba633ad7f49aaa0c9df23c317aaa768b24770d
parentMake an exception report more clear. Fix a database access in Presence to (diff)
downloadopensim-SC-65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3.zip
opensim-SC-65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3.tar.gz
opensim-SC-65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3.tar.bz2
opensim-SC-65a9bcee708e432fb9ddafe0ee16d77f3ffe63d3.tar.xz
Create root inventory folder with proper type (9) instead of -1
-rw-r--r--OpenSim/Services/InventoryService/XInventoryService.cs2
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