From 259824fbc4d86ad624f0b146c3e04ea850b0b8b6 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 4 Jul 2016 09:13:20 +0100 Subject: add EngineName also to the others --- OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs | 6 ++++++ OpenSim/Region/PhysicsModules/BulletS/BSScene.cs | 6 ++++++ OpenSim/Region/PhysicsModules/POS/POSScene.cs | 6 ++++++ 3 files changed, 18 insertions(+) (limited to 'OpenSim/Region/PhysicsModules') 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 get { return "basicphysics"; } } + public string Version + { + get { return "1.0"; } + } + public Type ReplaceableInterface { get { return null; } @@ -90,6 +95,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics EngineType = Name; PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName; + EngineName = Name + " " + Version; scene.RegisterModuleInterface(this); 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 get { return "BulletSim"; } } + public string Version + { + get { return "1.0"; } + } + public Type ReplaceableInterface { get { return null; } @@ -245,6 +250,7 @@ namespace OpenSim.Region.PhysicsModule.BulletS EngineType = Name; RegionName = scene.RegionInfo.RegionName; PhysicsSceneName = EngineType + "/" + RegionName; + EngineName = Name + " " + Version; scene.RegisterModuleInterface(this); 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 get { return "POS"; } } + public string Version + { + get { return "1.0"; } + } + public Type ReplaceableInterface { get { return null; } @@ -83,6 +88,7 @@ namespace OpenSim.Region.PhysicsModule.POS EngineType = Name; PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName; + EngineName = Name + " " + Version; scene.RegisterModuleInterface(this); base.Initialise(scene.PhysicsRequestAsset, -- cgit v1.1