aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-17 04:28:36 +0000
committerTeravus Ovares2007-12-17 04:28:36 +0000
commit94d8976140882ff596afd608ab7c1de77a3b2b97 (patch)
treef4568e7533611f6862c0c758bd22552fec692321 /OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
parent*Land has now been linked to the StorageManager. Next step is to fill in the ... (diff)
downloadopensim-SC_OLD-94d8976140882ff596afd608ab7c1de77a3b2b97.zip
opensim-SC_OLD-94d8976140882ff596afd608ab7c1de77a3b2b97.tar.gz
opensim-SC_OLD-94d8976140882ff596afd608ab7c1de77a3b2b97.tar.bz2
opensim-SC_OLD-94d8976140882ff596afd608ab7c1de77a3b2b97.tar.xz
* Hack to make sim saving terrain more friendly to larger parcel selection modifications
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs5
1 files changed, 5 insertions, 0 deletions
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
200 for (float y = west; y <= east; y++) 200 for (float y = west; y <= east; y++)
201 { 201 {
202 FlattenTerrain(y, x, size, (double)seconds / 5.0); 202 FlattenTerrain(y, x, size, (double)seconds / 5.0);
203 lastEdit = DateTime.Now;
203 } 204 }
204 } 205 }
205 break; 206 break;
@@ -210,6 +211,7 @@ namespace OpenSim.Region.Terrain
210 for (float y = west; y <= east; y++) 211 for (float y = west; y <= east; y++)
211 { 212 {
212 RaiseTerrain(y, x, size, (double)seconds / 5.0); 213 RaiseTerrain(y, x, size, (double)seconds / 5.0);
214 lastEdit = DateTime.Now;
213 } 215 }
214 } 216 }
215 break; 217 break;
@@ -220,6 +222,7 @@ namespace OpenSim.Region.Terrain
220 for (float y = west; y <= east; y++) 222 for (float y = west; y <= east; y++)
221 { 223 {
222 LowerTerrain(y, x, size, (double)seconds / 5.0); 224 LowerTerrain(y, x, size, (double)seconds / 5.0);
225 lastEdit = DateTime.Now;
223 } 226 }
224 } 227 }
225 break; 228 break;
@@ -248,6 +251,7 @@ namespace OpenSim.Region.Terrain
248 for (float y = west; y <= east; y++) 251 for (float y = west; y <= east; y++)
249 { 252 {
250 NoiseTerrain(y, x, size, (double)seconds / 5.0); 253 NoiseTerrain(y, x, size, (double)seconds / 5.0);
254 lastEdit = DateTime.Now;
251 } 255 }
252 } 256 }
253 break; 257 break;
@@ -258,6 +262,7 @@ namespace OpenSim.Region.Terrain
258 for (float y = west; y <= east; y++) 262 for (float y = west; y <= east; y++)
259 { 263 {
260 RevertTerrain(y, x, size, (double)seconds / 5.0); 264 RevertTerrain(y, x, size, (double)seconds / 5.0);
265 lastEdit = DateTime.Now;
261 } 266 }
262 } 267 }
263 break; 268 break;