diff options
author | Adam Frisby | 2007-08-17 22:44:34 +0000 |
---|---|---|
committer | Adam Frisby | 2007-08-17 22:44:34 +0000 |
commit | d2e48c8014650f1fa025b9cd674d55becb54b18c (patch) | |
tree | d27c294aea6b7e639e9388832bfefee5424f4c6d /OpenSim/Region/Terrain.BasicTerrain | |
parent | Pimped up Default.lsl. Now featuring a touch counter. (diff) | |
download | opensim-SC_OLD-d2e48c8014650f1fa025b9cd674d55becb54b18c.zip opensim-SC_OLD-d2e48c8014650f1fa025b9cd674d55becb54b18c.tar.gz opensim-SC_OLD-d2e48c8014650f1fa025b9cd674d55becb54b18c.tar.bz2 opensim-SC_OLD-d2e48c8014650f1fa025b9cd674d55becb54b18c.tar.xz |
* Added new terrain-sim <simname> <terrain commands...> function to run terrain commands on a specific sim.
* Made arguments for terrain save grdmap optional. Uses defaultstripe if no argument specified.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index 4976e5d..f54fd67 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -426,7 +426,10 @@ namespace OpenSim.Region.Terrain | |||
426 | break; | 426 | break; |
427 | 427 | ||
428 | case "grdmap": | 428 | case "grdmap": |
429 | ExportImage(filename, args[3]); | 429 | if (args.Length >= 4) |
430 | ExportImage(filename, args[3]); | ||
431 | else | ||
432 | ExportImage(filename, "defaultstripe.png"); | ||
430 | break; | 433 | break; |
431 | 434 | ||
432 | case "png": | 435 | case "png": |