mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
add EngineName also to the others
This commit is contained in:
@@ -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<PhysicsScene>(this);
|
||||
m_regionExtent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ);
|
||||
|
||||
@@ -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<PhysicsScene>(this);
|
||||
Vector3 extent = new Vector3(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY, scene.RegionInfo.RegionSizeZ);
|
||||
|
||||
@@ -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<PhysicsScene>(this);
|
||||
base.Initialise(scene.PhysicsRequestAsset,
|
||||
|
||||
Reference in New Issue
Block a user