aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/PhysXPlugin
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/PhysXPlugin')
-rw-r--r--OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs4
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()