mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Fixed terrain fill command
* Added "terrain smooth" command * Added "terrain clip" command
This commit is contained in:
@@ -338,6 +338,17 @@ namespace OpenSim.Region.Terrain
|
||||
|
||||
case "fill":
|
||||
heightmap.Fill(Convert.ToDouble(args[1]));
|
||||
tainted++;
|
||||
break;
|
||||
|
||||
case "clip":
|
||||
heightmap.Clip(Convert.ToDouble(args[1]), Convert.ToDouble(args[2]));
|
||||
tainted++;
|
||||
break;
|
||||
|
||||
case "smooth":
|
||||
heightmap.Smooth(Convert.ToDouble(args[1]));
|
||||
tainted++;
|
||||
break;
|
||||
|
||||
case "multiply":
|
||||
|
||||
Reference in New Issue
Block a user