mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
terrain is close to working, but I still end up at the bottom of the sea
right now.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user