aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-14 21:07:57 +0100
committerJustin Clark-Casey (justincc)2011-10-14 21:07:57 +0100
commit4bfc2f5cdea4b739110cae3b37945d88ad527334 (patch)
tree52ec4b80be241a6bfa12ec611fe98b6cf6c0a3c0 /OpenSim/Region/Physics
parentBug fix -- Test User on first run standalone might not be created properly: l... (diff)
downloadopensim-SC-4bfc2f5cdea4b739110cae3b37945d88ad527334.zip
opensim-SC-4bfc2f5cdea4b739110cae3b37945d88ad527334.tar.gz
opensim-SC-4bfc2f5cdea4b739110cae3b37945d88ad527334.tar.bz2
opensim-SC-4bfc2f5cdea4b739110cae3b37945d88ad527334.tar.xz
Change hardcoded ODE total frame time to match the default total frame time (0.09375 -> 0.089).
No apparant ill effects - because the default stepsize is 0.2, there are still 5 physics steps per physics frame. This is a precursor to using the elapsed value passed in (and now changeable in config).
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index 2da922b..e8689a6 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -2658,7 +2658,7 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
2658 // HACK: Using a time dilation of 1.0 to debug rubberbanding issues 2658 // HACK: Using a time dilation of 1.0 to debug rubberbanding issues
2659 //m_timeDilation = Math.Min((step_time / ODE_STEPSIZE) / (0.09375f / ODE_STEPSIZE), 1.0f); 2659 //m_timeDilation = Math.Min((step_time / ODE_STEPSIZE) / (0.09375f / ODE_STEPSIZE), 1.0f);
2660 2660
2661 step_time = 0.09375f; 2661 step_time = 0.089f;
2662 2662
2663 while (step_time > 0.0f) 2663 while (step_time > 0.0f)
2664 { 2664 {