mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* 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.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user