aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2007-08-02 20:07:35 +0000
committerAdam Frisby2007-08-02 20:07:35 +0000
commitfcafbc9a4acdcfc06a610fcd298b623c3c1b6670 (patch)
treefc47a6a4f0b5208d789109e83c73195311a9f1e9
parentspecify openjpeg with explicit path to current directory. Needed in some (diff)
downloadopensim-SC-fcafbc9a4acdcfc06a610fcd298b623c3c1b6670.zip
opensim-SC-fcafbc9a4acdcfc06a610fcd298b623c3c1b6670.tar.gz
opensim-SC-fcafbc9a4acdcfc06a610fcd298b623c3c1b6670.tar.bz2
opensim-SC-fcafbc9a4acdcfc06a610fcd298b623c3c1b6670.tar.xz
* Added new "terrain add" command.
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs5
1 files changed, 5 insertions, 0 deletions
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
352 tainted++; 352 tainted++;
353 break; 353 break;
354 354
355 case "add":
356 heightmap += Convert.ToDouble(args[1]);
357 tainted++;
358 break;
359
355 case "multiply": 360 case "multiply":
356 heightmap *= Convert.ToDouble(args[1]); 361 heightmap *= Convert.ToDouble(args[1]);
357 tainted++; 362 tainted++;