diff options
author | Justin Clark-Casey (justincc) | 2011-10-05 22:15:28 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-05 22:15:28 +0100 |
commit | 9090039324ecc45bf1005e719f61a80f0187cb73 (patch) | |
tree | eeeacca6d67a485b902c1271e425cb20137b56ab /OpenSim/Region/Physics/OdePlugin | |
parent | Make reported sim fps more accurate, in line with frame time ms (diff) | |
download | opensim-SC_OLD-9090039324ecc45bf1005e719f61a80f0187cb73.zip opensim-SC_OLD-9090039324ecc45bf1005e719f61a80f0187cb73.tar.gz opensim-SC_OLD-9090039324ecc45bf1005e719f61a80f0187cb73.tar.bz2 opensim-SC_OLD-9090039324ecc45bf1005e719f61a80f0187cb73.tar.xz |
Remove unused local variable i from OdeScene.Simulate()
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index 6e603e8..2da922b 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs | |||
@@ -2651,8 +2651,6 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name); | |||
2651 | //base.TriggerPhysicsBasedRestart(); | 2651 | //base.TriggerPhysicsBasedRestart(); |
2652 | //} | 2652 | //} |
2653 | 2653 | ||
2654 | int i = 0; | ||
2655 | |||
2656 | // Figure out the Frames Per Second we're going at. | 2654 | // Figure out the Frames Per Second we're going at. |
2657 | //(step_time == 0.004f, there's 250 of those per second. Times the step time/step size | 2655 | //(step_time == 0.004f, there's 250 of those per second. Times the step time/step size |
2658 | 2656 | ||
@@ -2810,7 +2808,6 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name); | |||
2810 | } | 2808 | } |
2811 | 2809 | ||
2812 | step_time -= ODE_STEPSIZE; | 2810 | step_time -= ODE_STEPSIZE; |
2813 | i++; | ||
2814 | //} | 2811 | //} |
2815 | //else | 2812 | //else |
2816 | //{ | 2813 | //{ |