From 38cd3bf18583e06281421600907b93fea538ceed Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Wed, 1 Aug 2007 22:53:05 +0000 Subject: * Fixed terrain fill command * Added "terrain smooth" command * Added "terrain clip" command --- OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 case "fill": heightmap.Fill(Convert.ToDouble(args[1])); + tainted++; + break; + + case "clip": + heightmap.Clip(Convert.ToDouble(args[1]), Convert.ToDouble(args[2])); + tainted++; + break; + + case "smooth": + heightmap.Smooth(Convert.ToDouble(args[1])); + tainted++; break; case "multiply": -- cgit v1.1