aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-01-15 16:23:19 +0000
committerUbitUmarov2018-01-15 16:23:19 +0000
commitc92ba1cc04c36d46b3569c06d8339cf897af65cc (patch)
tree88fadaf244e29d229bc166c1b0ac031843b15a50 /OpenSim/Region/PhysicsModules/BasicPhysics/BasicPhysicsScene.cs
parentupdate PrimMesher to a newer version from dahlia (thx dahlia), targeted .net4.6 (diff)
downloadopensim-SC-c92ba1cc04c36d46b3569c06d8339cf897af65cc.zip
opensim-SC-c92ba1cc04c36d46b3569c06d8339cf897af65cc.tar.gz
opensim-SC-c92ba1cc04c36d46b3569c06d8339cf897af65cc.tar.bz2
opensim-SC-c92ba1cc04c36d46b3569c06d8339cf897af65cc.tar.xz
shut up some pesty warnings
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()