diff options
author | Robert Adams | 2013-01-01 20:26:31 -0800 |
---|---|---|
committer | Robert Adams | 2013-01-04 17:06:48 -0800 |
commit | 2eda385f5e72e165150d0925c56b1188c77cafe8 (patch) | |
tree | 1708456178efde631dc397874880aa0d7d2bfb16 /OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | |
parent | minor: Rename BUILDING.txt to BUILDING.md in distbin distribution nant target (diff) | |
download | opensim-SC-2eda385f5e72e165150d0925c56b1188c77cafe8.zip opensim-SC-2eda385f5e72e165150d0925c56b1188c77cafe8.tar.gz opensim-SC-2eda385f5e72e165150d0925c56b1188c77cafe8.tar.bz2 opensim-SC-2eda385f5e72e165150d0925c56b1188c77cafe8.tar.xz |
BulletSim: add ResetBroadphasePool and ResetConstraintSolver diagnostic
functions. If values set from console, the functions are called. Looking
for why the collision pools fill up with unnecessary stuff.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs index 8ad78ca..befb076 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | |||
@@ -646,17 +646,21 @@ public abstract float GetMargin(BulletShape shape); | |||
646 | 646 | ||
647 | // ===================================================================================== | 647 | // ===================================================================================== |
648 | // Debugging | 648 | // Debugging |
649 | public abstract void DumpRigidBody(BulletWorld sim, BulletBody collisionObject); | 649 | public virtual void DumpRigidBody(BulletWorld sim, BulletBody collisionObject) { } |
650 | 650 | ||
651 | public abstract void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape); | 651 | public virtual void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape) { } |
652 | 652 | ||
653 | public abstract void DumpConstraint(BulletWorld sim, BulletConstraint constrain); | 653 | public virtual void DumpConstraint(BulletWorld sim, BulletConstraint constrain) { } |
654 | 654 | ||
655 | public abstract void DumpActivationInfo(BulletWorld sim); | 655 | public virtual void DumpActivationInfo(BulletWorld sim) { } |
656 | 656 | ||
657 | public abstract void DumpAllInfo(BulletWorld sim); | 657 | public virtual void DumpAllInfo(BulletWorld sim) { } |
658 | 658 | ||
659 | public abstract void DumpPhysicsStatistics(BulletWorld sim); | 659 | public virtual void DumpPhysicsStatistics(BulletWorld sim) { } |
660 | |||
661 | public virtual void ResetBroadphasePool(BulletWorld sim) { } | ||
662 | |||
663 | public virtual void ResetConstraintSolver(BulletWorld sim) { } | ||
660 | 664 | ||
661 | }; | 665 | }; |
662 | } | 666 | } |