diff options
author | Snoopy Pfeffer | 2012-04-10 21:49:43 +0200 |
---|---|---|
committer | Snoopy Pfeffer | 2012-04-10 21:49:43 +0200 |
commit | 78fd487a705c91720991a7572b860567f36366c4 (patch) | |
tree | cfd82a5742b050ab3e426cad1d262ad692cf16fe /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | Add uri to various log messages when region registration fails. Upgrade some... (diff) | |
download | opensim-SC_OLD-78fd487a705c91720991a7572b860567f36366c4.zip opensim-SC_OLD-78fd487a705c91720991a7572b860567f36366c4.tar.gz opensim-SC_OLD-78fd487a705c91720991a7572b860567f36366c4.tar.bz2 opensim-SC_OLD-78fd487a705c91720991a7572b860567f36366c4.tar.xz |
New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 680cefb4..b94b9bf 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -878,5 +878,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
878 | { | 878 | { |
879 | return m_OSSL_Functions.osEjectFromGroup(agentId); | 879 | return m_OSSL_Functions.osEjectFromGroup(agentId); |
880 | } | 880 | } |
881 | |||
882 | public void osSetTerrainTexture(int level, LSL_Key texture) | ||
883 | { | ||
884 | m_OSSL_Functions.osSetTerrainTexture(level, texture); | ||
885 | } | ||
886 | |||
887 | public void osSetTerrainTextureHeight(int corner, double low, double high) | ||
888 | { | ||
889 | m_OSSL_Functions.osSetTerrainTextureHeight(corner, low, high); | ||
890 | } | ||
881 | } | 891 | } |
882 | } | 892 | } |