* Terrain now resends when it's been tainted. This means you should be able to load terrains and see the results without relogging. (Just wait for the next Backup call -- once every two minutes). Needs testing.
parent
bd7c1f6d07
commit
0ede8140e7
|
@ -231,9 +231,16 @@ namespace OpenSim.world
|
|||
localStorage.SaveMap(Terrain.getHeights1D());
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs: Backup() - Terrain saved, informing Physics.");
|
||||
phyScene.SetTerrain(Terrain.getHeights1D());
|
||||
|
||||
// Needs optimising to just send patches which have changed.
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs: Backup() - Terrain changed, informing Clients.");
|
||||
foreach (ClientView client in m_clientThreads.Values)
|
||||
{
|
||||
this.SendLayerData(client);
|
||||
}
|
||||
}
|
||||
|
||||
// Primitive backup routines
|
||||
// Primitive backup routines -- should only do if there's been a change.
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs: Backup() - Backing up Primitives");
|
||||
foreach (libsecondlife.LLUUID UUID in Entities.Keys)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue