aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-28 15:11:01 -0700
committerJohn Hurliman2009-10-28 15:11:01 -0700
commit1c9696a9d2665b72ecde45fdcc43c1cde2abad79 (patch)
tree70985451e564e25ddf58ea109fd9d239c9345c13 /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
parentLimit physics time dilation to 1.0 (diff)
downloadopensim-SC_OLD-1c9696a9d2665b72ecde45fdcc43c1cde2abad79.zip
opensim-SC_OLD-1c9696a9d2665b72ecde45fdcc43c1cde2abad79.tar.gz
opensim-SC_OLD-1c9696a9d2665b72ecde45fdcc43c1cde2abad79.tar.bz2
opensim-SC_OLD-1c9696a9d2665b72ecde45fdcc43c1cde2abad79.tar.xz
Always send a time dilation of 1.0 while we debug rubberbanding issues
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 3fdf9ea..7caaa14 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -2672,7 +2672,8 @@ namespace OpenSim.Region.Physics.OdePlugin
2672 //(step_time == 0.004f, there's 250 of those per second. Times the step time/step size 2672 //(step_time == 0.004f, there's 250 of those per second. Times the step time/step size
2673 2673
2674 fps = (step_time / ODE_STEPSIZE) * 1000; 2674 fps = (step_time / ODE_STEPSIZE) * 1000;
2675 m_timeDilation = Math.Min((step_time / ODE_STEPSIZE) / (0.09375f / ODE_STEPSIZE), 1.0f); 2675 // HACK: Using a time dilation of 1.0 to debug rubberbanding issues
2676 //m_timeDilation = Math.Min((step_time / ODE_STEPSIZE) / (0.09375f / ODE_STEPSIZE), 1.0f);
2676 2677
2677 step_time = 0.09375f; 2678 step_time = 0.09375f;
2678 2679