diff options
Inventory should be working again in sandbox mode
Diffstat (limited to '')
-rw-r--r-- | OpenSim.Servers/LoginResponse.cs | 2 | ||||
-rw-r--r-- | OpenSim.Servers/LoginServer.cs | 1 |
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 | ||