diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index 339722e..69ac8cd 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -492,11 +492,11 @@ public static class BSParam | |||
492 | (s) => { return LinkConstraintSolverIterations; }, | 492 | (s) => { return LinkConstraintSolverIterations; }, |
493 | (s,p,l,v) => { LinkConstraintSolverIterations = v; } ), | 493 | (s,p,l,v) => { LinkConstraintSolverIterations = v; } ), |
494 | 494 | ||
495 | new ParameterDefn("LogPhysicsStatisticsFrames", "Frames between outputting detailed phys stats. (0 is off)", | 495 | new ParameterDefn("PhysicsMetricFrames", "Frames between outputting detailed phys metrics. (0 is off)", |
496 | 0f, | 496 | 0f, |
497 | (s,cf,p,v) => { s.UnmanagedParams[0].physicsLoggingFrames = cf.GetInt(p, (int)v); }, | 497 | (s,cf,p,v) => { s.PhysicsMetricDumpFrames = cf.GetFloat(p, (int)v); }, |
498 | (s) => { return (float)s.UnmanagedParams[0].physicsLoggingFrames; }, | 498 | (s) => { return (float)s.PhysicsMetricDumpFrames; }, |
499 | (s,p,l,v) => { s.UnmanagedParams[0].physicsLoggingFrames = (int)v; } ), | 499 | (s,p,l,v) => { s.PhysicsMetricDumpFrames = (int)v; } ), |
500 | }; | 500 | }; |
501 | 501 | ||
502 | // Convert a boolean to our numeric true and false values | 502 | // Convert a boolean to our numeric true and false values |