mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Terrain:
* Added 'multiply' command since rescale doesnt exactly do what Adam wants.
This commit is contained in:
@@ -541,6 +541,7 @@ namespace OpenSim
|
||||
m_console.WriteLine("terrain load <type> <filename> - loads a terrain from disk, type can be 'F32', 'F64' or 'IMG'");
|
||||
m_console.WriteLine("terrain save <type> <filename> - saves a terrain to disk, type can be 'F32' or 'F64'");
|
||||
m_console.WriteLine("terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high");
|
||||
m_console.WriteLine("terrain multiply <val> - multiplies a terrain by <val>");
|
||||
break;
|
||||
|
||||
case "seed":
|
||||
@@ -555,6 +556,10 @@ namespace OpenSim
|
||||
LocalWorld.Terrain.setRange(Convert.ToSingle(args[1]), Convert.ToSingle(args[2]));
|
||||
break;
|
||||
|
||||
case "multiply":
|
||||
LocalWorld.Terrain *= Convert.ToDouble(args[1]);
|
||||
break;
|
||||
|
||||
case "load":
|
||||
switch (args[1].ToLower())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user