aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
index 9cd8099..2d0fb30 100644
--- a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
@@ -187,7 +187,7 @@ namespace OpenSim.Terrain
187 resultText += "terrain voronoi <points> <blocksize> - generates a worley fractal with X points per block"; 187 resultText += "terrain voronoi <points> <blocksize> - generates a worley fractal with X points per block";
188 resultText += "terrain seed <seed> - sets the random seed value to <seed>\n"; 188 resultText += "terrain seed <seed> - sets the random seed value to <seed>\n";
189 resultText += "terrain load <type> <filename> - loads a terrain from disk, type can be 'F32', 'F64', 'RAW' or 'IMG'\n"; 189 resultText += "terrain load <type> <filename> - loads a terrain from disk, type can be 'F32', 'F64', 'RAW' or 'IMG'\n";
190 resultText += "terrain save <type> <filename> - saves a terrain to disk, type can be 'F32' or 'F64'\n"; 190 resultText += "terrain save <type> <filename> - saves a terrain to disk, type can be 'F32', 'F64' or 'PNG'\n";
191 resultText += "terrain save grdmap <filename> <gradient map> - creates a PNG snapshot of the region using a named gradient map\n"; 191 resultText += "terrain save grdmap <filename> <gradient map> - creates a PNG snapshot of the region using a named gradient map\n";
192 resultText += "terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high\n"; 192 resultText += "terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high\n";
193 resultText += "terrain erode aerobic <windspeed> <pickupmin> <dropmin> <carry> <rounds> <lowest>\n"; 193 resultText += "terrain erode aerobic <windspeed> <pickupmin> <dropmin> <carry> <rounds> <lowest>\n";
@@ -275,6 +275,10 @@ namespace OpenSim.Terrain
275 exportImage(args[2], args[3]); 275 exportImage(args[2], args[3]);
276 break; 276 break;
277 277
278 case "png":
279 heightmap.saveImage(args[2]);
280 break;
281
278 default: 282 default:
279 resultText = "Unknown image or data format"; 283 resultText = "Unknown image or data format";
280 return false; 284 return false;