aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BasicPhysicsPlugin
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-12 06:58:55 +0000
committerTeravus Ovares2007-12-12 06:58:55 +0000
commit081f4403ea2a2f8352d480910052bf5032e2e4a5 (patch)
tree9eeda0d127f84b1e0538ac834e7921a074b6503e /OpenSim/Region/Physics/BasicPhysicsPlugin
parent* Patch from justincc to fix Inconsistent automatic mysql table creation - se... (diff)
downloadopensim-SC-081f4403ea2a2f8352d480910052bf5032e2e4a5.zip
opensim-SC-081f4403ea2a2f8352d480910052bf5032e2e4a5.tar.gz
opensim-SC-081f4403ea2a2f8352d480910052bf5032e2e4a5.tar.bz2
opensim-SC-081f4403ea2a2f8352d480910052bf5032e2e4a5.tar.xz
* Added some simstats to fill the simulator pane of the Statistics monitor.
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
Diffstat (limited to 'OpenSim/Region/Physics/BasicPhysicsPlugin')
-rw-r--r--OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index 6b647b1..df3ebb9 100644
--- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -118,8 +118,9 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
118 { 118 {
119 119
120 } 120 }
121 public override void Simulate(float timeStep) 121 public override float Simulate(float timeStep)
122 { 122 {
123 float fps = 0;
123 for (int i = 0; i < _actors.Count; ++i) 124 for (int i = 0; i < _actors.Count; ++i)
124 { 125 {
125 BasicActor actor = _actors[i]; 126 BasicActor actor = _actors[i];
@@ -164,6 +165,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
164 actor.Velocity.Z = 0; 165 actor.Velocity.Z = 0;
165 } 166 }
166 } 167 }
168 return fps;
167 } 169 }
168 170
169 public override void GetResults() 171 public override void GetResults()