diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 7bf6b8d..6e600b8 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -42,6 +42,8 @@ using OpenSim.Region.Environment; | |||
42 | using OpenSim.Region.Environment.Scenes; | 42 | using OpenSim.Region.Environment.Scenes; |
43 | using OpenSim.Region.Terrain; | 43 | using OpenSim.Region.Terrain; |
44 | using OpenSim.Framework.Interfaces; | 44 | using OpenSim.Framework.Interfaces; |
45 | using OpenSim.Framework.Data; | ||
46 | |||
45 | using OpenSim.Framework.Types; | 47 | using OpenSim.Framework.Types; |
46 | using OpenSim.Framework; | 48 | using OpenSim.Framework; |
47 | using OpenSim.Assets; | 49 | using OpenSim.Assets; |
@@ -250,7 +252,14 @@ namespace OpenSim | |||
250 | LocalWorld.PhysScene = this.physManager.GetPhysicsScene(this.m_physicsEngine); | 252 | LocalWorld.PhysScene = this.physManager.GetPhysicsScene(this.m_physicsEngine); |
251 | LocalWorld.PhysScene.SetTerrain(LocalWorld.Terrain.getHeights1D()); | 253 | LocalWorld.PhysScene.SetTerrain(LocalWorld.Terrain.getHeights1D()); |
252 | LocalWorld.LoadPrimsFromStorage(); | 254 | LocalWorld.LoadPrimsFromStorage(); |
253 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.parcelManager); | 255 | |
256 | //Master Avatar Setup | ||
257 | UserProfileData masterAvatar = commsManager.UserServer.SetupMasterUser(LocalWorld.RegionInfo.MasterAvatarFirstName, LocalWorld.RegionInfo.MasterAvatarLastName, LocalWorld.RegionInfo.MasterAvatarSandboxPassword); | ||
258 | if (masterAvatar != null) | ||
259 | { | ||
260 | LocalWorld.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID; | ||
261 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.parcelManager); | ||
262 | } | ||
254 | 263 | ||
255 | 264 | ||
256 | LocalWorld.StartTimer(); | 265 | LocalWorld.StartTimer(); |