diff options
author | Adam Frisby | 2007-08-01 22:53:05 +0000 |
---|---|---|
committer | Adam Frisby | 2007-08-01 22:53:05 +0000 |
commit | 38cd3bf18583e06281421600907b93fea538ceed (patch) | |
tree | c0b6c10941c6858e8d1ff6c035f195172dede653 /OpenSim/Region | |
parent | * Fixed an assorted group of bugs with tiled terrain import. (diff) | |
download | opensim-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/Region')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 11 |
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": |