aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorAdam Frisby2007-08-01 22:53:05 +0000
committerAdam Frisby2007-08-01 22:53:05 +0000
commit38cd3bf18583e06281421600907b93fea538ceed (patch)
treec0b6c10941c6858e8d1ff6c035f195172dede653 /OpenSim
parent* Fixed an assorted group of bugs with tiled terrain import. (diff)
downloadopensim-SC_OLD-38cd3bf18583e06281421600907b93fea538ceed.zip
opensim-SC_OLD-38cd3bf18583e06281421600907b93fea538ceed.tar.gz
opensim-SC_OLD-38cd3bf18583e06281421600907b93fea538ceed.tar.bz2
opensim-SC_OLD-38cd3bf18583e06281421600907b93fea538ceed.tar.xz
* Fixed terrain fill command
* Added "terrain smooth" command * Added "terrain clip" command
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index 4ecdfdf..0593077 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -338,6 +338,17 @@ namespace OpenSim.Region.Terrain
338 338
339 case "fill": 339 case "fill":
340 heightmap.Fill(Convert.ToDouble(args[1])); 340 heightmap.Fill(Convert.ToDouble(args[1]));
341 tainted++;
342 break;
343
344 case "clip":
345 heightmap.Clip(Convert.ToDouble(args[1]), Convert.ToDouble(args[2]));
346 tainted++;
347 break;
348
349 case "smooth":
350 heightmap.Smooth(Convert.ToDouble(args[1]));
351 tainted++;
341 break; 352 break;
342 353
343 case "multiply": 354 case "multiply":