diff options
author | erwincoumans <erwin.coumans@gmail.com> | 2019-04-09 09:25:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 09:25:07 -0700 |
commit | c243f9e7c70c6fd3ab5991abdd1fc652b3bd1156 (patch) | |
tree | 315ccd53bd2f8b4ed640f2a34f076eacd25b90b8 | |
parent | 43e164af8a378359aaf7c49670885f95c10c140d (diff) | |
parent | bdf055307759cca0522951d64419e59af2dd9dc1 (diff) | |
download | bullet3-c243f9e7c70c6fd3ab5991abdd1fc652b3bd1156.tar.gz |
Merge pull request #2195 from Steven89Liu/NeedsJointFeedback
don't need to call the computeAccelerationsArticulatedBodyAlgorithmMu…
-rw-r--r-- | src/BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.cpp b/src/BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.cpp index 1557987bc..faaa211f6 100644 --- a/src/BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.cpp +++ b/src/BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.cpp @@ -717,6 +717,7 @@ void btMultiBodyDynamicsWorld::solveConstraints(btContactSolverInfo& solverInfo) m_scratch_v.resize(bod->getNumLinks() + 1); m_scratch_m.resize(bod->getNumLinks() + 1); + if (bod->internalNeedsJointFeedback()) { if (!bod->isUsingRK4Integration()) { |