aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin
diff options
context:
space:
mode:
authorUbitUmarov2015-09-04 14:33:46 +0100
committerUbitUmarov2015-09-04 14:33:46 +0100
commita54e0339efb3a4e2b3d7c7eb9e4929554fa77615 (patch)
treee1124278731b63937762956aef37de9c4973648b /OpenSim/Region/Physics/BulletSPlugin
parentuse GetTimeStampMS to increase heartbeat and stats timing resolution. some re... (diff)
downloadopensim-SC-a54e0339efb3a4e2b3d7c7eb9e4929554fa77615.zip
opensim-SC-a54e0339efb3a4e2b3d7c7eb9e4929554fa77615.tar.gz
opensim-SC-a54e0339efb3a4e2b3d7c7eb9e4929554fa77615.tar.bz2
opensim-SC-a54e0339efb3a4e2b3d7c7eb9e4929554fa77615.tar.xz
remove a forgotten 1000.9 factor on physics fps
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSScene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
index 8af9e88..0bace14 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
@@ -711,7 +711,7 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
711 // These are summed and normalized to one second and divided by 1000 to give the reported physics FPS. 711 // These are summed and normalized to one second and divided by 1000 to give the reported physics FPS.
712 // Multiply by a fixed nominal frame rate to give a rate similar to the simulator (usually 55). 712 // Multiply by a fixed nominal frame rate to give a rate similar to the simulator (usually 55).
713// m_simulatedTime += (float)numSubSteps * m_fixedTimeStep * 1000f * NominalFrameRate; 713// m_simulatedTime += (float)numSubSteps * m_fixedTimeStep * 1000f * NominalFrameRate;
714 m_simulatedTime += (float)numSubSteps * m_fixedTimeStep * 1000f; 714 m_simulatedTime += (float)numSubSteps * m_fixedTimeStep;
715 } 715 }
716 716
717 // Called by a BSPhysObject to note that it has changed properties and this information 717 // Called by a BSPhysObject to note that it has changed properties and this information