diff options
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index e5cc5ea..d0b5cb9 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -260,6 +260,7 @@ namespace OpenSim.Region.Terrain | |||
260 | resultText += "terrain save <type> <filename> - saves a terrain to disk, type can be 'F32', 'F64', 'PNG', 'RAW' or 'HIRAW'\n"; | 260 | resultText += "terrain save <type> <filename> - saves a terrain to disk, type can be 'F32', 'F64', 'PNG', 'RAW' or 'HIRAW'\n"; |
261 | resultText += "terrain save grdmap <filename> <gradient map> - creates a PNG snapshot of the region using a named gradient map\n"; | 261 | resultText += "terrain save grdmap <filename> <gradient map> - creates a PNG snapshot of the region using a named gradient map\n"; |
262 | resultText += "terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high\n"; | 262 | resultText += "terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high\n"; |
263 | resultText += "terrain fill <val> - fills a terrain at the specified height\n"; | ||
263 | resultText += "terrain erode aerobic <windspeed> <pickupmin> <dropmin> <carry> <rounds> <lowest>\n"; | 264 | resultText += "terrain erode aerobic <windspeed> <pickupmin> <dropmin> <carry> <rounds> <lowest>\n"; |
264 | resultText += "terrain erode thermal <talus> <rounds> <carry>\n"; | 265 | resultText += "terrain erode thermal <talus> <rounds> <carry>\n"; |
265 | resultText += "terrain erode hydraulic <rain> <evaporation> <solubility> <frequency> <rounds>\n"; | 266 | resultText += "terrain erode hydraulic <rain> <evaporation> <solubility> <frequency> <rounds>\n"; |
@@ -309,6 +310,10 @@ namespace OpenSim.Region.Terrain | |||
309 | SetRange(Convert.ToSingle(args[1]), Convert.ToSingle(args[2])); | 310 | SetRange(Convert.ToSingle(args[1]), Convert.ToSingle(args[2])); |
310 | break; | 311 | break; |
311 | 312 | ||
313 | case "fill": | ||
314 | heightmap.Fill(Convert.ToDouble(args[1])); | ||
315 | break; | ||
316 | |||
312 | case "multiply": | 317 | case "multiply": |
313 | heightmap *= Convert.ToDouble(args[1]); | 318 | heightmap *= Convert.ToDouble(args[1]); |
314 | tainted++; | 319 | tainted++; |