From 94d8976140882ff596afd608ab7c1de77a3b2b97 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 17 Dec 2007 04:28:36 +0000 Subject: * Hack to make sim saving terrain more friendly to larger parcel selection modifications --- OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index d78f162..f29f42a 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs @@ -200,6 +200,7 @@ namespace OpenSim.Region.Terrain for (float y = west; y <= east; y++) { FlattenTerrain(y, x, size, (double)seconds / 5.0); + lastEdit = DateTime.Now; } } break; @@ -210,6 +211,7 @@ namespace OpenSim.Region.Terrain for (float y = west; y <= east; y++) { RaiseTerrain(y, x, size, (double)seconds / 5.0); + lastEdit = DateTime.Now; } } break; @@ -220,6 +222,7 @@ namespace OpenSim.Region.Terrain for (float y = west; y <= east; y++) { LowerTerrain(y, x, size, (double)seconds / 5.0); + lastEdit = DateTime.Now; } } break; @@ -248,6 +251,7 @@ namespace OpenSim.Region.Terrain for (float y = west; y <= east; y++) { NoiseTerrain(y, x, size, (double)seconds / 5.0); + lastEdit = DateTime.Now; } } break; @@ -258,6 +262,7 @@ namespace OpenSim.Region.Terrain for (float y = west; y <= east; y++) { RevertTerrain(y, x, size, (double)seconds / 5.0); + lastEdit = DateTime.Now; } } break; -- cgit v1.1