From 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 May 2019 21:24:15 +1000 Subject: Dump OpenSim 0.9.0.1 into it's own branch. --- OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs') diff --git a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs index 20b337a..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); @@ -220,7 +226,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics actor.Velocity = actorVelocity; } - return fps; + return 1.0f; } public override void GetResults() -- cgit v1.1 From cdb1851f438349a8721c0d9cef54837d0b302189 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 4 Jun 2019 00:50:59 +1000 Subject: Warnings-- --- OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs') diff --git a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs index 2a1ae45..29685da 100644 --- a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs +++ b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs @@ -163,7 +163,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics { // Console.WriteLine("Simulating"); - float fps = 0; +// float fps = 0; for (int i = 0; i < _actors.Count; ++i) { BasicActor actor = _actors[i]; -- cgit v1.1