aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/POSPlugin/POSScene.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-09-04 09:42:33 +0100
committerUbitUmarov2015-09-04 09:42:33 +0100
commitac4b2b2f50d03bf94e63902961d91604734395fb (patch)
tree9efafaa4022b6c6d8e93efb527d1b342587abd3b /OpenSim/Region/Physics/POSPlugin/POSScene.cs
parenta bit better addAvatar() call chain (diff)
downloadopensim-SC-ac4b2b2f50d03bf94e63902961d91604734395fb.zip
opensim-SC-ac4b2b2f50d03bf94e63902961d91604734395fb.tar.gz
opensim-SC-ac4b2b2f50d03bf94e63902961d91604734395fb.tar.bz2
opensim-SC-ac4b2b2f50d03bf94e63902961d91604734395fb.tar.xz
normalise physics plugins to return fps as (simulated time / requested simulation time). improved a bit old ode simulations per call math
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/POSPlugin/POSScene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/POSPlugin/POSScene.cs b/OpenSim/Region/Physics/POSPlugin/POSScene.cs
index 080c6ab..061304a 100644
--- a/OpenSim/Region/Physics/POSPlugin/POSScene.cs
+++ b/OpenSim/Region/Physics/POSPlugin/POSScene.cs
@@ -238,7 +238,7 @@ namespace OpenSim.Region.Physics.POSPlugin
238 character._velocity.Z = (character.Position.Z - oldposZ)/timeStep; 238 character._velocity.Z = (character.Position.Z - oldposZ)/timeStep;
239 } 239 }
240 } 240 }
241 return fps; 241 return 1.0f;
242 } 242 }
243 243
244 public override void GetResults() 244 public override void GetResults()