From d79814416718c998483f1b2b4833d6cbefbb99fb Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Wed, 30 Jul 2014 22:28:38 -0700 Subject: [PATCH] don't add collision shapes to the list twice --- Demos/CommonRigidBodySetup.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Demos/CommonRigidBodySetup.h b/Demos/CommonRigidBodySetup.h index 4d118162a..0520b038d 100644 --- a/Demos/CommonRigidBodySetup.h +++ b/Demos/CommonRigidBodySetup.h @@ -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; }