diff options
author | Teravus Ovares | 2007-12-12 06:58:55 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-12 06:58:55 +0000 |
commit | 081f4403ea2a2f8352d480910052bf5032e2e4a5 (patch) | |
tree | 9eeda0d127f84b1e0538ac834e7921a074b6503e /OpenSim/Region/Physics/PhysXPlugin | |
parent | * Patch from justincc to fix Inconsistent automatic mysql table creation - se... (diff) | |
download | opensim-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/PhysXPlugin')
-rw-r--r-- | OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs index 5d22eeb..bc28626 100644 --- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs +++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | |||
@@ -139,8 +139,9 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
139 | { | 139 | { |
140 | 140 | ||
141 | } | 141 | } |
142 | public override void Simulate(float timeStep) | 142 | public override float Simulate(float timeStep) |
143 | { | 143 | { |
144 | float fps = 0f; | ||
144 | try | 145 | try |
145 | { | 146 | { |
146 | foreach (PhysXCharacter actor in _characters) | 147 | foreach (PhysXCharacter actor in _characters) |
@@ -160,6 +161,7 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
160 | { | 161 | { |
161 | Console.WriteLine(e.Message); | 162 | Console.WriteLine(e.Message); |
162 | } | 163 | } |
164 | return fps; | ||
163 | } | 165 | } |
164 | 166 | ||
165 | public override void GetResults() | 167 | public override void GetResults() |