need to synchronize the terrain updates
parent
4663999c24
commit
50eab18590
|
@ -138,7 +138,7 @@ namespace OpenSim.Data.NHibernate
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
m_log.Error("[NHIBERNATE] issue saving asset", e);
|
m_log.Error("[NHIBERNATE] issue saving prim", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ namespace OpenSim.Data.NHibernate
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
m_log.Error("[NHIBERNATE] issue saving asset", e);
|
m_log.Error("[NHIBERNATE] issue saving terrain", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -280,9 +280,11 @@ namespace OpenSim.Data.NHibernate
|
||||||
/// <param name="regionID">region UUID</param>
|
/// <param name="regionID">region UUID</param>
|
||||||
public void StoreTerrain(double[,] ter, LLUUID regionID)
|
public void StoreTerrain(double[,] ter, LLUUID regionID)
|
||||||
{
|
{
|
||||||
|
lock (this) {
|
||||||
Terrain t = new Terrain(regionID, ter);
|
Terrain t = new Terrain(regionID, ter);
|
||||||
SaveOrUpdate(t);
|
SaveOrUpdate(t);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Load the latest terrain revision from region storage
|
/// Load the latest terrain revision from region storage
|
||||||
|
|
Loading…
Reference in New Issue