From 7e81841f0e2ad07e06eb5afb1fabfb4e589dafb7 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 12 Jan 2008 04:14:06 +0000 Subject: [PATCH] *ech one thing didn't save from the last commit --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index f8ab8e7d9d..17dbd0a136 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -931,8 +931,8 @@ namespace OpenSim.Region.Physics.OdePlugin // Figure out the Frames Per Second we're going at. - - fps = (((step_time/ODE_STEPSIZE*m_physicsiterations)*2)*10); + //(step_time == 0.004f, there's 250 of those per second. Times the step time/step size + fps = ((step_time/ODE_STEPSIZE)*(m_physicsiterations*250)); while (step_time > 0.0f)