aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-07-04 08:55:19 +0100
committerUbitUmarov2016-07-04 08:55:19 +0100
commit2ebccbcd087aae4bd2273958fac7a4bbf9a3f2a7 (patch)
tree758f9a3d83a48f00a75a65239293abeddf458878 /OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
parentMerge branch 'master' of opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC-2ebccbcd087aae4bd2273958fac7a4bbf9a3f2a7.zip
opensim-SC-2ebccbcd087aae4bd2273958fac7a4bbf9a3f2a7.tar.gz
opensim-SC-2ebccbcd087aae4bd2273958fac7a4bbf9a3f2a7.tar.bz2
opensim-SC-2ebccbcd087aae4bd2273958fac7a4bbf9a3f2a7.tar.xz
add EngineName also to old ODE
Diffstat (limited to 'OpenSim/Region/PhysicsModules/Ode/OdeScene.cs')
-rw-r--r--OpenSim/Region/PhysicsModules/Ode/OdeScene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
index e23cca6..8f9bccb 100644
--- a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
+++ b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
@@ -500,13 +500,14 @@ namespace OpenSim.Region.PhysicsModule.ODE
500 500
501 public Scene m_frameWorkScene = null; 501 public Scene m_frameWorkScene = null;
502 502
503 public OdeScene(Scene pscene, IConfigSource psourceconfig, string pname) 503 public OdeScene(Scene pscene, IConfigSource psourceconfig, string pname, string pversion)
504 { 504 {
505 m_config = psourceconfig; 505 m_config = psourceconfig;
506 m_frameWorkScene = pscene; 506 m_frameWorkScene = pscene;
507 507
508 EngineType = pname; 508 EngineType = pname;
509 PhysicsSceneName = EngineType + "/" + pscene.RegionInfo.RegionName; 509 PhysicsSceneName = EngineType + "/" + pscene.RegionInfo.RegionName;
510 EngineName = pname + " " + pversion;
510 511
511 pscene.RegisterModuleInterface<PhysicsScene>(this); 512 pscene.RegisterModuleInterface<PhysicsScene>(this);
512 Vector3 extent = new Vector3(pscene.RegionInfo.RegionSizeX, pscene.RegionInfo.RegionSizeY, pscene.RegionInfo.RegionSizeZ); 513 Vector3 extent = new Vector3(pscene.RegionInfo.RegionSizeX, pscene.RegionInfo.RegionSizeY, pscene.RegionInfo.RegionSizeZ);