aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Servers
diff options
context:
space:
mode:
authorMW2007-05-13 13:10:15 +0000
committerMW2007-05-13 13:10:15 +0000
commit5917d36219d1143ff3129f6e2692ab25f2ea1b5f (patch)
tree0cdaa6aa3f1f6e5a0923a6f585b6f8f4e826353d /OpenSim.Servers
parentChanged to slightly better textures for the map: a blue one for the sea and o... (diff)
downloadopensim-SC_OLD-5917d36219d1143ff3129f6e2692ab25f2ea1b5f.zip
opensim-SC_OLD-5917d36219d1143ff3129f6e2692ab25f2ea1b5f.tar.gz
opensim-SC_OLD-5917d36219d1143ff3129f6e2692ab25f2ea1b5f.tar.bz2
opensim-SC_OLD-5917d36219d1143ff3129f6e2692ab25f2ea1b5f.tar.xz
Inventory should be working again in sandbox mode
Diffstat (limited to 'OpenSim.Servers')
-rw-r--r--OpenSim.Servers/LoginResponse.cs2
-rw-r--r--OpenSim.Servers/LoginServer.cs1
2 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim.Servers/LoginResponse.cs b/OpenSim.Servers/LoginResponse.cs
index c51b8b1..ac4d2ab 100644
--- a/OpenSim.Servers/LoginResponse.cs
+++ b/OpenSim.Servers/LoginResponse.cs
@@ -183,6 +183,8 @@ namespace OpenSim.UserServer
183 this.SecureSessionID = LLUUID.Random(); 183 this.SecureSessionID = LLUUID.Random();
184 184
185 this.userProfile.Inventory.CreateRootFolder(this.userProfile.UUID, true); 185 this.userProfile.Inventory.CreateRootFolder(this.userProfile.UUID, true);
186 this.baseFolderID = this.userProfile.Inventory.GetFolderID("Textures");
187 this.inventoryFolderID = this.userProfile.Inventory.GetFolderID("My Inventory-");
186 Hashtable InventoryRootHash = new Hashtable(); 188 Hashtable InventoryRootHash = new Hashtable();
187 InventoryRootHash["folder_id"] = this.userProfile.Inventory.InventoryRoot.FolderID.ToStringHyphenated(); 189 InventoryRootHash["folder_id"] = this.userProfile.Inventory.InventoryRoot.FolderID.ToStringHyphenated();
188 this.inventoryRoot.Add(InventoryRootHash); 190 this.inventoryRoot.Add(InventoryRootHash);
diff --git a/OpenSim.Servers/LoginServer.cs b/OpenSim.Servers/LoginServer.cs
index 44038ff..0aeb15a 100644
--- a/OpenSim.Servers/LoginServer.cs
+++ b/OpenSim.Servers/LoginServer.cs
@@ -192,6 +192,7 @@ namespace OpenSim.UserServer
192 _login.Agent = loginResponse.AgentID; 192 _login.Agent = loginResponse.AgentID;
193 _login.Session = loginResponse.SessionID; 193 _login.Session = loginResponse.SessionID;
194 _login.SecureSession = loginResponse.SecureSessionID; 194 _login.SecureSession = loginResponse.SecureSessionID;
195
195 _login.BaseFolder = loginResponse.BaseFolderID; 196 _login.BaseFolder = loginResponse.BaseFolderID;
196 _login.InventoryFolder = loginResponse.InventoryFolderID; 197 _login.InventoryFolder = loginResponse.InventoryFolderID;
197 198