More debugging in hunt for that random startup crash

ThreadPoolClientBranch
Tedd Hansen 2008-01-19 19:49:08 +00:00
parent 8351894170
commit 6353df5569
1 changed files with 4 additions and 0 deletions

View File

@ -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> 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");