mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 11:25:39 +08:00
* Added osTerrainSetHeight(int x, int y, double val) to LSL commands
* Added osTerrainGetHeight(int x, int y) to LSL commands
This commit is contained in:
@@ -2876,6 +2876,17 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
|
||||
//
|
||||
// OpenSim functions
|
||||
//
|
||||
public int osTerrainSetHeight(int x, int y, double val)
|
||||
{
|
||||
World.Terrain.Set(x, y, val);
|
||||
return 1;
|
||||
}
|
||||
|
||||
public double osTerrainGetHeight(int x, int y)
|
||||
{
|
||||
return World.Terrain.GetHeight(x, y);
|
||||
}
|
||||
|
||||
public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,
|
||||
int timer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user