From 6353df5569b399df68be2ae9077d9e034db0f9b8 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 19 Jan 2008 19:49:08 +0000 Subject: More debugging in hunt for that random startup crash --- OpenSim/Region/Environment/Scenes/Scene.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 25c6d91..e84a24e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -900,13 +900,17 @@ namespace OpenSim.Region.Environment.Scenes public void loadAllLandObjectsFromStorage() { MainLog.Instance.Verbose("SCENE", "Loading land objects from storage"); + MainLog.Instance.Verbose("SCENE", "LandObjLoad debug: DataStore.LoadLandObjects"); List landData = m_storageManager.DataStore.LoadLandObjects(RegionInfo.RegionID); + if (landData.Count == 0) { + MainLog.Instance.Verbose("SCENE", "LandObjLoad debug: NoLandDataFromStorage()"); m_LandManager.NoLandDataFromStorage(); } else { + MainLog.Instance.Verbose("SCENE", "LandObjLoad debug: IncomingLandObjectsFromStorage(landData)"); m_LandManager.IncomingLandObjectsFromStorage(landData); } MainLog.Instance.Verbose("SCENE", "Done loading land objects from storage"); -- cgit v1.1