aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer
diff options
context:
space:
mode:
authorAdam Frisby2007-05-26 09:07:43 +0000
committerAdam Frisby2007-05-26 09:07:43 +0000
commitf20c86e76e36e18a26f09277d8f255ec66b3f703 (patch)
treecfb853cd7c87b9c5134349214a49494c57b121c3 /OpenSim/OpenSim.RegionServer
parent* Created better terrain stripe. (diff)
downloadopensim-SC-f20c86e76e36e18a26f09277d8f255ec66b3f703.zip
opensim-SC-f20c86e76e36e18a26f09277d8f255ec66b3f703.tar.gz
opensim-SC-f20c86e76e36e18a26f09277d8f255ec66b3f703.tar.bz2
opensim-SC-f20c86e76e36e18a26f09277d8f255ec66b3f703.tar.xz
* Semibug fix: Terrain should not save to database every time a packet is recieved. Terrain is always updated every Backup() call anyway.
Diffstat (limited to 'OpenSim/OpenSim.RegionServer')
-rw-r--r--OpenSim/OpenSim.RegionServer/world/World.cs6
1 files changed, 1 insertions, 5 deletions
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
383 { 383 {
384 if (changes) 384 if (changes)
385 { 385 {
386 lock (this.LockPhysicsEngine) 386 /* Dont save here, rely on tainting system instead */
387 {
388 this.phyScene.SetTerrain(this.Terrain.getHeights1D());
389 }
390 this.localStorage.SaveMap(this.Terrain.getHeights1D());
391 387
392 foreach (ClientView client in m_clientThreads.Values) 388 foreach (ClientView client in m_clientThreads.Values)
393 { 389 {