diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index d9b630e5ff..0186ba8995 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -146,6 +146,15 @@ namespace OpenSim.Region.Environment.Scenes Avatars = new Dictionary(); Prims = new Dictionary(); + MainLog.Instance.Verbose("World.cs - loading objects from datastore"); + List PrimsFromDB = storageManager.DataStore.LoadObjects(); + foreach (SceneObject prim in PrimsFromDB) + { + Prims.Add(prim.uuid, prim); + } + MainLog.Instance.Verbose("World.cs - loaded " + PrimsFromDB.Count.ToString() + " object(s)"); + + MainLog.Instance.Verbose("World.cs - creating LandMap"); Terrain = new TerrainEngine();