aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index bfb4941..74e44ec 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -371,6 +371,19 @@ namespace OpenSim.Region.Terrain
371 } 371 }
372 break; 372 break;
373 373
374 case "load-tile":
375 switch (args[1].ToLower())
376 {
377 case "f32":
378 LoadFromFileF32(args[2], Convert.ToInt32(args[3]), Convert.ToInt32(args[4]),
379 Convert.ToInt32(args[5]), Convert.ToInt32(args[6]));
380 break;
381 default:
382 resultText = "Unknown or unsupported image or data format";
383 return false;
384 }
385 break;
386
374 case "save": 387 case "save":
375 args[2].Replace("%name%", simName); 388 args[2].Replace("%name%", simName);
376 switch (args[1].ToLower()) 389 switch (args[1].ToLower())