aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorUbitUmarov2019-04-18 15:26:27 +0100
committerUbitUmarov2019-04-18 15:26:27 +0100
commit5314f375c50f3a81f0bad0507800745a555b7e59 (patch)
tree27ae4d3fad8bf8ddadf530cdd3f48e90ae6941f2 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parent mantis 8517: actually let NULL_KEY do the same as on PRIM_TEXTURE (diff)
downloadopensim-SC-5314f375c50f3a81f0bad0507800745a555b7e59.zip
opensim-SC-5314f375c50f3a81f0bad0507800745a555b7e59.tar.gz
opensim-SC-5314f375c50f3a81f0bad0507800745a555b7e59.tar.bz2
opensim-SC-5314f375c50f3a81f0bad0507800745a555b7e59.tar.xz
change osSetProjectionParams a bit and add a variant that atkes a linknumber argument. For now can only change one prim per call
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index 7a4a5fb..fd5142f 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -1035,16 +1035,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
1035 m_OSSL_Functions.osSetPrimitiveParams(prim, rules); 1035 m_OSSL_Functions.osSetPrimitiveParams(prim, rules);
1036 } 1036 }
1037 1037
1038 public void osSetProjectionParams(bool projection, LSL_Key texture, double fov, double focus, double amb) 1038 public void osSetProjectionParams(LSL_Integer projection, LSL_Key texture, double fov, double focus, double amb)
1039 { 1039 {
1040 m_OSSL_Functions.osSetProjectionParams(projection, texture, fov, focus, amb); 1040 m_OSSL_Functions.osSetProjectionParams(projection, texture, fov, focus, amb);
1041 } 1041 }
1042 1042
1043 public void osSetProjectionParams(LSL_Key prim, bool projection, LSL_Key texture, double fov, double focus, double amb) 1043 public void osSetProjectionParams(LSL_Key prim, LSL_Integer projection, LSL_Key texture, double fov, double focus, double amb)
1044 { 1044 {
1045 m_OSSL_Functions.osSetProjectionParams(prim, projection, texture, fov, focus, amb); 1045 m_OSSL_Functions.osSetProjectionParams(prim, projection, texture, fov, focus, amb);
1046 } 1046 }
1047 1047
1048 public void osSetProjectionParams(LSL_Integer linknumber, LSL_Integer projection, LSL_Key texture, LSL_Float fov, LSL_Float focus, LSL_Float amb)
1049 {
1050 m_OSSL_Functions.osSetProjectionParams(linknumber, projection, texture, fov, focus, amb);
1051 }
1052
1048 public LSL_List osGetAvatarList() 1053 public LSL_List osGetAvatarList()
1049 { 1054 {
1050 return m_OSSL_Functions.osGetAvatarList(); 1055 return m_OSSL_Functions.osGetAvatarList();