From f20c86e76e36e18a26f09277d8f255ec66b3f703 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 26 May 2007 09:07:43 +0000 Subject: * Semibug fix: Terrain should not save to database every time a packet is recieved. Terrain is always updated every Backup() call anyway. --- OpenSim/OpenSim.RegionServer/world/World.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/OpenSim.RegionServer/world/World.cs b/OpenSim/OpenSim.RegionServer/world/World.cs index 2edb8e7..1991b74 100644 --- a/OpenSim/OpenSim.RegionServer/world/World.cs +++ b/OpenSim/OpenSim.RegionServer/world/World.cs @@ -383,11 +383,7 @@ namespace OpenSim.world { if (changes) { - lock (this.LockPhysicsEngine) - { - this.phyScene.SetTerrain(this.Terrain.getHeights1D()); - } - this.localStorage.SaveMap(this.Terrain.getHeights1D()); + /* Dont save here, rely on tainting system instead */ foreach (ClientView client in m_clientThreads.Values) { -- cgit v1.1