* Hack to make sim saving terrain more friendly to larger parcel selection modifications

afrisby
Teravus Ovares 2007-12-17 04:28:36 +00:00
parent d845da215f
commit 94d8976140
1 changed files with 5 additions and 0 deletions

View File

@ -200,6 +200,7 @@ namespace OpenSim.Region.Terrain
for (float y = west; y <= east; y++) for (float y = west; y <= east; y++)
{ {
FlattenTerrain(y, x, size, (double)seconds / 5.0); FlattenTerrain(y, x, size, (double)seconds / 5.0);
lastEdit = DateTime.Now;
} }
} }
break; break;
@ -210,6 +211,7 @@ namespace OpenSim.Region.Terrain
for (float y = west; y <= east; y++) for (float y = west; y <= east; y++)
{ {
RaiseTerrain(y, x, size, (double)seconds / 5.0); RaiseTerrain(y, x, size, (double)seconds / 5.0);
lastEdit = DateTime.Now;
} }
} }
break; break;
@ -220,6 +222,7 @@ namespace OpenSim.Region.Terrain
for (float y = west; y <= east; y++) for (float y = west; y <= east; y++)
{ {
LowerTerrain(y, x, size, (double)seconds / 5.0); LowerTerrain(y, x, size, (double)seconds / 5.0);
lastEdit = DateTime.Now;
} }
} }
break; break;
@ -248,6 +251,7 @@ namespace OpenSim.Region.Terrain
for (float y = west; y <= east; y++) for (float y = west; y <= east; y++)
{ {
NoiseTerrain(y, x, size, (double)seconds / 5.0); NoiseTerrain(y, x, size, (double)seconds / 5.0);
lastEdit = DateTime.Now;
} }
} }
break; break;
@ -258,6 +262,7 @@ namespace OpenSim.Region.Terrain
for (float y = west; y <= east; y++) for (float y = west; y <= east; y++)
{ {
RevertTerrain(y, x, size, (double)seconds / 5.0); RevertTerrain(y, x, size, (double)seconds / 5.0);
lastEdit = DateTime.Now;
} }
} }
break; break;