From caafea6e3b546ccaccb719d12e439eb3beba002b Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Tue, 25 Aug 2015 11:46:34 -0700 Subject: [PATCH] allow compound collision shapes with less than 2 sub-shapes --- libraries/physics/src/ShapeFactory.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/physics/src/ShapeFactory.cpp b/libraries/physics/src/ShapeFactory.cpp index cfe7abd4db..f138587030 100644 --- a/libraries/physics/src/ShapeFactory.cpp +++ b/libraries/physics/src/ShapeFactory.cpp @@ -94,7 +94,6 @@ btCollisionShape* ShapeFactory::createShapeFromInfo(const ShapeInfo& info) { if (numSubShapes == 1) { shape = createConvexHull(info.getPoints()[0]); } else { - assert(numSubShapes > 1); auto compound = new btCompoundShape(); btTransform trans; trans.setIdentity();