don't add collision shapes to the list twice

This commit is contained in:
Erwin Coumans
2014-07-30 22:28:38 -07:00
parent 1d00d91707
commit d798144167

View File

@@ -206,7 +206,6 @@ struct CommonRigidBodySetup : public CommonPhysicsSetup
btBoxShape* createBoxShape(const btVector3& halfExtents)
{
btBoxShape* box = new btBoxShape(halfExtents);
m_collisionShapes.push_back(box);
return box;
}