aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateRegionData.cs
diff options
context:
space:
mode:
authorSean Dague2008-07-17 20:58:24 +0000
committerSean Dague2008-07-17 20:58:24 +0000
commit18a5cfd10fa6fa2d3b94f1be7edb656f9688ee27 (patch)
tree04aec792d43cf02cfeea850a4e8644a3929f2d8a /OpenSim/Data/NHibernate/NHibernateRegionData.cs
parentneed to synchronize the terrain updates (diff)
downloadopensim-SC-18a5cfd10fa6fa2d3b94f1be7edb656f9688ee27.zip
opensim-SC-18a5cfd10fa6fa2d3b94f1be7edb656f9688ee27.tar.gz
opensim-SC-18a5cfd10fa6fa2d3b94f1be7edb656f9688ee27.tar.bz2
opensim-SC-18a5cfd10fa6fa2d3b94f1be7edb656f9688ee27.tar.xz
terrain is close to working, but I still end up at the bottom of the sea
right now.
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateRegionData.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateRegionData.cs b/OpenSim/Data/NHibernate/NHibernateRegionData.cs
index 2167002..9d6409e 100644
--- a/OpenSim/Data/NHibernate/NHibernateRegionData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateRegionData.cs
@@ -298,13 +298,10 @@ namespace OpenSim.Data.NHibernate
298 Terrain t = session.Load(typeof(Terrain), regionID) as Terrain; 298 Terrain t = session.Load(typeof(Terrain), regionID) as Terrain;
299 return t.Doubles; 299 return t.Doubles;
300 } 300 }
301 catch (Exception e) 301 catch (NHibernate.ObjectNotFoundException e)
302 { 302 {
303 m_log.Error("[NHIBERNATE] issue loading terrain", e); 303 m_log.Info("No terrain yet");
304 304 return null;
305 double[,] terret = new double[256,256];
306 terret.Initialize();
307 return terret;
308 } 305 }
309 } 306 }
310 307