terrain is close to working, but I still end up at the bottom of the sea

right now.
This commit is contained in:
Sean Dague
2008-07-17 20:58:24 +00:00
parent 50eab18590
commit 18a5cfd10f
3 changed files with 25 additions and 17 deletions

View File

@@ -298,13 +298,10 @@ namespace OpenSim.Data.NHibernate
Terrain t = session.Load(typeof(Terrain), regionID) as Terrain;
return t.Doubles;
}
catch (Exception e)
catch (NHibernate.ObjectNotFoundException e)
{
m_log.Error("[NHIBERNATE] issue loading terrain", e);
double[,] terret = new double[256,256];
terret.Initialize();
return terret;
m_log.Info("No terrain yet");
return null;
}
}