aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs')
-rw-r--r--OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
index 2a1ae45..5ce1515 100644
--- a/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
+++ b/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
@@ -163,7 +163,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics
163 { 163 {
164// Console.WriteLine("Simulating"); 164// Console.WriteLine("Simulating");
165 165
166 float fps = 0; 166 float fps = 1.0f / timeStep;
167 for (int i = 0; i < _actors.Count; ++i) 167 for (int i = 0; i < _actors.Count; ++i)
168 { 168 {
169 BasicActor actor = _actors[i]; 169 BasicActor actor = _actors[i];
@@ -226,7 +226,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics
226 actor.Velocity = actorVelocity; 226 actor.Velocity = actorVelocity;
227 } 227 }
228 228
229 return 1.0f; 229 return fps;
230 } 230 }
231 231
232 public override void GetResults() 232 public override void GetResults()