diff options
author | UbitUmarov | 2016-07-04 09:13:20 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-04 09:13:20 +0100 |
commit | 259824fbc4d86ad624f0b146c3e04ea850b0b8b6 (patch) | |
tree | 8be759ac6ba90223e72c9aface7ba46efa1c3b68 /OpenSim/Region/PhysicsModules/BasicPhysics | |
parent | add EngineName also to old ODE (diff) | |
download | opensim-SC_OLD-259824fbc4d86ad624f0b146c3e04ea850b0b8b6.zip opensim-SC_OLD-259824fbc4d86ad624f0b146c3e04ea850b0b8b6.tar.gz opensim-SC_OLD-259824fbc4d86ad624f0b146c3e04ea850b0b8b6.tar.bz2 opensim-SC_OLD-259824fbc4d86ad624f0b146c3e04ea850b0b8b6.tar.xz |
add EngineName also to the others
Diffstat (limited to 'OpenSim/Region/PhysicsModules/BasicPhysics')
-rw-r--r-- | OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs index ac2c1f3..2a1ae45 100644 --- a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs +++ b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs | |||
@@ -61,6 +61,11 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics | |||
61 | get { return "basicphysics"; } | 61 | get { return "basicphysics"; } |
62 | } | 62 | } |
63 | 63 | ||
64 | public string Version | ||
65 | { | ||
66 | get { return "1.0"; } | ||
67 | } | ||
68 | |||
64 | public Type ReplaceableInterface | 69 | public Type ReplaceableInterface |
65 | { | 70 | { |
66 | get { return null; } | 71 | get { return null; } |
@@ -90,6 +95,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics | |||
90 | 95 | ||
91 | EngineType = Name; | 96 | EngineType = Name; |
92 | PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName; | 97 | PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName; |
98 | EngineName = Name + " " + Version; | ||
93 | 99 | ||
94 | scene.RegisterModuleInterface<PhysicsScene>(this); | 100 | scene.RegisterModuleInterface<PhysicsScene>(this); |
95 | m_regionExtent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ); | 101 | m_regionExtent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ); |