diff options
author | UbitUmarov | 2016-07-04 08:29:26 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-04 08:29:26 +0100 |
commit | ac72598c6bd974c426863262a1c5ac9210bd986c (patch) | |
tree | f1b1f42e5572044be5592162681273aee12af888 /OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | |
parent | New config var: DisableObjectTransfer. If set to True, objects never cross; i... (diff) | |
download | opensim-SC-ac72598c6bd974c426863262a1c5ac9210bd986c.zip opensim-SC-ac72598c6bd974c426863262a1c5ac9210bd986c.tar.gz opensim-SC-ac72598c6bd974c426863262a1c5ac9210bd986c.tar.bz2 opensim-SC-ac72598c6bd974c426863262a1c5ac9210bd986c.tar.xz |
add OSSL osGetPhysicsEngineName(). this returns a string with name and version. does no permition checks or it whould be less usefull ( only ubOde returns value)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs index dd1c0ab..51b8e4e 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | |||
@@ -29,6 +29,11 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
29 | get { return "ubODE"; } | 29 | get { return "ubODE"; } |
30 | } | 30 | } |
31 | 31 | ||
32 | public string Version | ||
33 | { | ||
34 | get { return "1.0"; } | ||
35 | } | ||
36 | |||
32 | public Type ReplaceableInterface | 37 | public Type ReplaceableInterface |
33 | { | 38 | { |
34 | get { return null; } | 39 | get { return null; } |
@@ -75,7 +80,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
75 | 80 | ||
76 | if(m_scenes.ContainsKey(scene)) // ??? | 81 | if(m_scenes.ContainsKey(scene)) // ??? |
77 | return; | 82 | return; |
78 | ODEScene newodescene = new ODEScene(scene, m_config, Name, OSOdeLib); | 83 | ODEScene newodescene = new ODEScene(scene, m_config, Name, Version, OSOdeLib); |
79 | m_scenes[scene] = newodescene; | 84 | m_scenes[scene] = newodescene; |
80 | } | 85 | } |
81 | 86 | ||