aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-07-04 08:29:26 +0100
committerUbitUmarov2016-07-04 08:29:26 +0100
commitac72598c6bd974c426863262a1c5ac9210bd986c (patch)
treef1b1f42e5572044be5592162681273aee12af888 /OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs
parentNew config var: DisableObjectTransfer. If set to True, objects never cross; i... (diff)
downloadopensim-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.cs7
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