diff options
author | Robert Adams | 2012-12-10 16:46:12 -0800 |
---|---|---|
committer | Robert Adams | 2012-12-10 16:46:12 -0800 |
commit | 93393fb975f3886c448b6f945705304552fe8875 (patch) | |
tree | da5452ab6a2b78588cd3aab2f559a81f8c342fbe /OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |
parent | BulletSim: Fix crash on the destruction of physical linksets. (diff) | |
download | opensim-SC-93393fb975f3886c448b6f945705304552fe8875.zip opensim-SC-93393fb975f3886c448b6f945705304552fe8875.tar.gz opensim-SC-93393fb975f3886c448b6f945705304552fe8875.tar.bz2 opensim-SC-93393fb975f3886c448b6f945705304552fe8875.tar.xz |
BulletSim: comment out some chatty debug logging. Rearrange some code in BSDynamics to make velocity vs force calculation clearer.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs index f72bd74..17cc7b4 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |||
@@ -501,7 +501,7 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters | |||
501 | 501 | ||
502 | try | 502 | try |
503 | { | 503 | { |
504 | if (VehicleLoggingEnabled) DumpVehicles(); // DEBUG | 504 | // if (VehicleLoggingEnabled) DumpVehicles(); // DEBUG |
505 | if (PhysicsLogging.Enabled) beforeTime = Util.EnvironmentTickCount(); | 505 | if (PhysicsLogging.Enabled) beforeTime = Util.EnvironmentTickCount(); |
506 | 506 | ||
507 | numSubSteps = BulletSimAPI.PhysicsStep2(World.ptr, timeStep, m_maxSubSteps, m_fixedTimeStep, | 507 | numSubSteps = BulletSimAPI.PhysicsStep2(World.ptr, timeStep, m_maxSubSteps, m_fixedTimeStep, |
@@ -510,7 +510,7 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters | |||
510 | if (PhysicsLogging.Enabled) simTime = Util.EnvironmentTickCountSubtract(beforeTime); | 510 | if (PhysicsLogging.Enabled) simTime = Util.EnvironmentTickCountSubtract(beforeTime); |
511 | DetailLog("{0},Simulate,call, frame={1}, nTaints={2}, simTime={3}, substeps={4}, updates={5}, colliders={6}", | 511 | DetailLog("{0},Simulate,call, frame={1}, nTaints={2}, simTime={3}, substeps={4}, updates={5}, colliders={6}", |
512 | DetailLogZero, m_simulationStep, numTaints, simTime, numSubSteps, updatedEntityCount, collidersCount); | 512 | DetailLogZero, m_simulationStep, numTaints, simTime, numSubSteps, updatedEntityCount, collidersCount); |
513 | if (VehicleLoggingEnabled) DumpVehicles(); // DEBUG | 513 | // if (VehicleLoggingEnabled) DumpVehicles(); // DEBUG |
514 | } | 514 | } |
515 | catch (Exception e) | 515 | catch (Exception e) |
516 | { | 516 | { |