From 2cbcd86de95745402af997585d2b5a6cde46bdb5 Mon Sep 17 00:00:00 2001 From: kubas Date: Thu, 9 Jan 2014 01:13:22 +0100 Subject: [PATCH] fixed a btMultiBody ctor bug --- src/BulletDynamics/Featherstone/btMultiBody.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BulletDynamics/Featherstone/btMultiBody.cpp b/src/BulletDynamics/Featherstone/btMultiBody.cpp index f0f34b506..6b594d085 100644 --- a/src/BulletDynamics/Featherstone/btMultiBody.cpp +++ b/src/BulletDynamics/Featherstone/btMultiBody.cpp @@ -101,7 +101,7 @@ btMultiBody::btMultiBody(int n_links, m_useGyroTerm(true), m_maxAppliedImpulse(1000.f), m_hasSelfCollision(true), - m_dofCount(n_links), + m_dofCount(0), __posUpdated(false), m_isMultiDof(multiDof), m_posVarCnt(0)