aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorRobert Adams2015-04-12 19:30:55 -0700
committerRobert Adams2015-04-12 19:30:55 -0700
commit9b337b089c1811e316c7d4cba04cc434f16c950c (patch)
tree6659b92bb262f235a081ab9aeb070f714de39256 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentMove osslEnable.ini file from bin/ to bin/config-include. (diff)
downloadopensim-SC_OLD-9b337b089c1811e316c7d4cba04cc434f16c950c.zip
opensim-SC_OLD-9b337b089c1811e316c7d4cba04cc434f16c950c.tar.gz
opensim-SC_OLD-9b337b089c1811e316c7d4cba04cc434f16c950c.tar.bz2
opensim-SC_OLD-9b337b089c1811e316c7d4cba04cc434f16c950c.tar.xz
Add osCheckODE() function so scripts can configure for running with legacy physics engine.
Function returns 'true' of the physics engine is configured to be 'OpenDynamicsEngine'. The presumption is that all other physics engines work the same (like SL) or it is a bug. Does not require ossl functions to be enabled.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs5
1 files changed, 5 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 352a35d..6030325 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -420,6 +420,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
420 return m_OSSL_Functions.osGetScriptEngineName(); 420 return m_OSSL_Functions.osGetScriptEngineName();
421 } 421 }
422 422
423 public LSL_Integer osCheckODE()
424 {
425 return m_OSSL_Functions.osCheckODE();
426 }
427
423 public string osGetPhysicsEngineType() 428 public string osGetPhysicsEngineType()
424 { 429 {
425 return m_OSSL_Functions.osGetPhysicsEngineType(); 430 return m_OSSL_Functions.osGetPhysicsEngineType();