From fcafbc9a4acdcfc06a610fcd298b623c3c1b6670 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 2 Aug 2007 20:07:35 +0000 Subject: * Added new "terrain add" command. --- OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index 7f60ae2..7130e4b 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs @@ -352,6 +352,11 @@ namespace OpenSim.Region.Terrain tainted++; break; + case "add": + heightmap += Convert.ToDouble(args[1]); + tainted++; + break; + case "multiply": heightmap *= Convert.ToDouble(args[1]); tainted++; -- cgit v1.1