add EngineName also to the others

LSLKeyTest
UbitUmarov 2016-07-04 09:13:20 +01:00
parent 2ebccbcd08
commit 259824fbc4
3 changed files with 18 additions and 0 deletions

View File

@ -61,6 +61,11 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics
get { return "basicphysics"; } get { return "basicphysics"; }
} }
public string Version
{
get { return "1.0"; }
}
public Type ReplaceableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
@ -90,6 +95,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics
EngineType = Name; EngineType = Name;
PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName; PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName;
EngineName = Name + " " + Version;
scene.RegisterModuleInterface<PhysicsScene>(this); scene.RegisterModuleInterface<PhysicsScene>(this);
m_regionExtent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ); m_regionExtent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ);

View File

@ -212,6 +212,11 @@ namespace OpenSim.Region.PhysicsModule.BulletS
get { return "BulletSim"; } get { return "BulletSim"; }
} }
public string Version
{
get { return "1.0"; }
}
public Type ReplaceableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
@ -245,6 +250,7 @@ namespace OpenSim.Region.PhysicsModule.BulletS
EngineType = Name; EngineType = Name;
RegionName = scene.RegionInfo.RegionName; RegionName = scene.RegionInfo.RegionName;
PhysicsSceneName = EngineType + "/" + RegionName; PhysicsSceneName = EngineType + "/" + RegionName;
EngineName = Name + " " + Version;
scene.RegisterModuleInterface<PhysicsScene>(this); scene.RegisterModuleInterface<PhysicsScene>(this);
Vector3 extent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ); Vector3 extent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ);

View File

@ -54,6 +54,11 @@ namespace OpenSim.Region.PhysicsModule.POS
get { return "POS"; } get { return "POS"; }
} }
public string Version
{
get { return "1.0"; }
}
public Type ReplaceableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
@ -83,6 +88,7 @@ namespace OpenSim.Region.PhysicsModule.POS
EngineType = Name; EngineType = Name;
PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName; PhysicsSceneName = EngineType + "/" + scene.RegionInfo.RegionName;
EngineName = Name + " " + Version;
scene.RegisterModuleInterface<PhysicsScene>(this); scene.RegisterModuleInterface<PhysicsScene>(this);
base.Initialise(scene.PhysicsRequestAsset, base.Initialise(scene.PhysicsRequestAsset,