diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules')
-rw-r--r-- | OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/PhysicsModules/BulletS/BSScene.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/PhysicsModules/POS/POSScene.cs | 6 |
3 files changed, 18 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); |
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs b/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs index bd9f325..9b677be 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs | |||
@@ -212,6 +212,11 @@ namespace OpenSim.Region.PhysicsModule.BulletS | |||
212 | get { return "BulletSim"; } | 212 | get { return "BulletSim"; } |
213 | } | 213 | } |
214 | 214 | ||
215 | public string Version | ||
216 | { | ||
217 | get { return "1.0"; } | ||
218 | } | ||
219 | |||
215 | public Type ReplaceableInterface | 220 | public Type ReplaceableInterface |
216 | { | 221 | { |
217 | get { return null; } | 222 | get { return null; } |
@@ -245,6 +250,7 @@ namespace OpenSim.Region.PhysicsModule.BulletS | |||
245 | EngineType = Name; | 250 | EngineType = Name; |
246 | RegionName = scene.RegionInfo.RegionName; | 251 | RegionName = scene.RegionInfo.RegionName; |
247 | PhysicsSceneName = EngineType + "/" + RegionName; | 252 | PhysicsSceneName = EngineType + "/" + RegionName; |
253 | EngineName = Name + " " + Version; | ||
248 | 254 | ||
249 | scene.RegisterModuleInterface<PhysicsScene>(this); | 255 | scene.RegisterModuleInterface<PhysicsScene>(this); |
250 | Vector3 extent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ); | 256 | Vector3 extent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ); |
diff --git a/OpenSim/Region/PhysicsModules/POS/POSScene.cs b/OpenSim/Region/PhysicsModules/POS/POSScene.cs index e6bcbf2..e62d876 100644 --- a/OpenSim/Region/PhysicsModules/POS/POSScene.cs +++ b/OpenSim/Region/PhysicsModules/POS/POSScene.cs | |||
@@ -54,6 +54,11 @@ namespace OpenSim.Region.PhysicsModule.POS | |||
54 | get { return "POS"; } | 54 | get { return "POS"; } |
55 | } | 55 | } |
56 | 56 | ||
57 | public string Version | ||
58 | { | ||
59 | get { return "1.0"; } | ||
60 | } | ||
61 | |||
57 | public Type ReplaceableInterface | 62 | public Type ReplaceableInterface |
58 | { | 63 | { |
59 | get { return null; } | 64 | get { return null; } |
@@ -83,6 +88,7 @@ namespace OpenSim.Region.PhysicsModule.POS | |||
83 | 88 | ||
84 | EngineType = Name; | 89 | EngineType = Name; |
85 | PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName; | 90 | PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName; |
91 | EngineName = Name + " " + Version; | ||
86 | 92 | ||
87 | scene.RegisterModuleInterface<PhysicsScene>(this); | 93 | scene.RegisterModuleInterface<PhysicsScene>(this); |
88 | base.Initialise(scene.PhysicsRequestAsset, | 94 | base.Initialise(scene.PhysicsRequestAsset, |