summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerwincoumans <erwin.coumans@gmail.com>2019-04-09 09:25:07 -0700
committerGitHub <noreply@github.com>2019-04-09 09:25:07 -0700
commitc243f9e7c70c6fd3ab5991abdd1fc652b3bd1156 (patch)
tree315ccd53bd2f8b4ed640f2a34f076eacd25b90b8
parent43e164af8a378359aaf7c49670885f95c10c140d (diff)
parentbdf055307759cca0522951d64419e59af2dd9dc1 (diff)
downloadbullet3-c243f9e7c70c6fd3ab5991abdd1fc652b3bd1156.tar.gz
Merge pull request #2195 from Steven89Liu/NeedsJointFeedback
don't need to call the computeAccelerationsArticulatedBodyAlgorithmMu…
-rw-r--r--src/BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.cpp1
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())
{