diff options
author | Robert Adams | 2012-08-15 11:33:38 -0700 |
---|---|---|
committer | Robert Adams | 2012-08-15 12:08:13 -0700 |
commit | 68f112888bd02b33e3b2f58f5b2adb90ce23e84b (patch) | |
tree | b7003425fe307b769176720ce5cc0349eccea33e /OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs | |
parent | BulletSim: don't recreate mesh unless it needs it when rebuilding the hull. M... (diff) | |
download | opensim-SC_OLD-68f112888bd02b33e3b2f58f5b2adb90ce23e84b.zip opensim-SC_OLD-68f112888bd02b33e3b2f58f5b2adb90ce23e84b.tar.gz opensim-SC_OLD-68f112888bd02b33e3b2f58f5b2adb90ce23e84b.tar.bz2 opensim-SC_OLD-68f112888bd02b33e3b2f58f5b2adb90ce23e84b.tar.xz |
BulletSim: clean up detail logging by adding many more debug log statements and then commenting out most of the additions.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs b/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs index cf8dbc5..25084d8 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs | |||
@@ -97,8 +97,14 @@ public abstract class BSConstraint : IDisposable | |||
97 | ret = CalculateTransforms(); | 97 | ret = CalculateTransforms(); |
98 | if (ret) | 98 | if (ret) |
99 | { | 99 | { |
100 | // m_world.scene.PhysicsLogging.Write("{0},BSConstraint.RecomputeConstraintVariables,taint,enabling,A={1},B={2}", | ||
101 | // BSScene.DetailLogZero, Body1.ID, Body2.ID); | ||
100 | BulletSimAPI.SetConstraintEnable2(m_constraint.Ptr, m_world.scene.NumericBool(true)); | 102 | BulletSimAPI.SetConstraintEnable2(m_constraint.Ptr, m_world.scene.NumericBool(true)); |
101 | } | 103 | } |
104 | else | ||
105 | { | ||
106 | m_world.scene.Logger.ErrorFormat("[BULLETSIM CONSTRAINT] CalculateTransforms failed. A={0}, B={1}", Body1.ID, Body2.ID); | ||
107 | } | ||
102 | } | 108 | } |
103 | return ret; | 109 | return ret; |
104 | } | 110 | } |