diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/BulletS/BSParam.cs')
-rwxr-xr-x | OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs b/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs index 0792f5d..fcda92c 100755 --- a/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | |||
@@ -838,7 +838,7 @@ public static class BSParam | |||
838 | new ParameterDefn<float>("ResetBroadphasePool", "Setting this is any value resets the broadphase collision pool", | 838 | new ParameterDefn<float>("ResetBroadphasePool", "Setting this is any value resets the broadphase collision pool", |
839 | 0f, | 839 | 0f, |
840 | (s) => { return 0f; }, | 840 | (s) => { return 0f; }, |
841 | (s,v) => { BSParam.ResetBroadphasePoolTainted(s, v, false /* inTaintTime */); } ), | 841 | (s,v) => { BSParam.ResetBroadphasePoolTainted(s, v); } ), |
842 | new ParameterDefn<float>("ResetConstraintSolver", "Setting this is any value resets the constraint solver", | 842 | new ParameterDefn<float>("ResetConstraintSolver", "Setting this is any value resets the constraint solver", |
843 | 0f, | 843 | 0f, |
844 | (s) => { return 0f; }, | 844 | (s) => { return 0f; }, |
@@ -924,10 +924,10 @@ public static class BSParam | |||
924 | // ===================================================================== | 924 | // ===================================================================== |
925 | // There are parameters that, when set, cause things to happen in the physics engine. | 925 | // There are parameters that, when set, cause things to happen in the physics engine. |
926 | // This causes the broadphase collision cache to be cleared. | 926 | // This causes the broadphase collision cache to be cleared. |
927 | private static void ResetBroadphasePoolTainted(BSScene pPhysScene, float v, bool inTaintTime) | 927 | private static void ResetBroadphasePoolTainted(BSScene pPhysScene, float v) |
928 | { | 928 | { |
929 | BSScene physScene = pPhysScene; | 929 | BSScene physScene = pPhysScene; |
930 | physScene.TaintedObject(inTaintTime, "BSParam.ResetBroadphasePoolTainted", delegate() | 930 | physScene.TaintedObject(BSScene.DetailLogZero, "BSParam.ResetBroadphasePoolTainted", delegate() |
931 | { | 931 | { |
932 | physScene.PE.ResetBroadphasePool(physScene.World); | 932 | physScene.PE.ResetBroadphasePool(physScene.World); |
933 | }); | 933 | }); |