aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorMakopoppo2011-06-27 19:30:42 +0900
committerBlueWall2011-06-28 11:48:28 -0400
commitffa790d69d4e9b1b50470f84b0ad198098dc2736 (patch)
tree1c7c209681b56815cea65af973f9480aa7d42115 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parent[PATCH 1/2] Fixed the function names of some OSSL functions shown as (diff)
downloadopensim-SC_OLD-ffa790d69d4e9b1b50470f84b0ad198098dc2736.zip
opensim-SC_OLD-ffa790d69d4e9b1b50470f84b0ad198098dc2736.tar.gz
opensim-SC_OLD-ffa790d69d4e9b1b50470f84b0ad198098dc2736.tar.bz2
opensim-SC_OLD-ffa790d69d4e9b1b50470f84b0ad198098dc2736.tar.xz
[PATCH] Get osGetWindParam() and osSetWindParam() accessible
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 201fef4..f32ecca 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -1241,7 +1241,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1241 return String.Empty; 1241 return String.Empty;
1242 } 1242 }
1243 1243
1244 public void osSetWindParam(string plugin, string param, float value) 1244 public void osSetWindParam(string plugin, string param, LSL_Float value)
1245 { 1245 {
1246 CheckThreatLevel(ThreatLevel.VeryLow, "osSetWindParam"); 1246 CheckThreatLevel(ThreatLevel.VeryLow, "osSetWindParam");
1247 m_host.AddScriptLPS(1); 1247 m_host.AddScriptLPS(1);
@@ -1251,13 +1251,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1251 { 1251 {
1252 try 1252 try
1253 { 1253 {
1254 module.WindParamSet(plugin, param, value); 1254 module.WindParamSet(plugin, param, (float)value);
1255 } 1255 }
1256 catch (Exception) { } 1256 catch (Exception) { }
1257 } 1257 }
1258 } 1258 }
1259 1259
1260 public float osGetWindParam(string plugin, string param) 1260 public LSL_Float osGetWindParam(string plugin, string param)
1261 { 1261 {
1262 CheckThreatLevel(ThreatLevel.VeryLow, "osGetWindParam"); 1262 CheckThreatLevel(ThreatLevel.VeryLow, "osGetWindParam");
1263 m_host.AddScriptLPS(1); 1263 m_host.AddScriptLPS(1);