From 8d26ff356d0c8f5e1b5984575056169cc709c6f6 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 25 Sep 2015 17:00:44 -0700 Subject: [PATCH] allow links without collision shapes in btMultiBody URDF importer --- examples/Importers/ImportURDFDemo/URDF2Bullet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Importers/ImportURDFDemo/URDF2Bullet.cpp b/examples/Importers/ImportURDFDemo/URDF2Bullet.cpp index 09b98d613..b1b09eeb9 100644 --- a/examples/Importers/ImportURDFDemo/URDF2Bullet.cpp +++ b/examples/Importers/ImportURDFDemo/URDF2Bullet.cpp @@ -349,7 +349,7 @@ void ConvertURDF2BulletInternal(const URDFImporterInterface& u2b, MultiBodyCreat if (createMultiBody) { - if (compoundShape->getNumChildShapes()>0) + //if (compoundShape->getNumChildShapes()>0) { btMultiBodyLinkCollider* col= creation.allocateMultiBodyLinkCollider(urdfLinkIndex, mbLinkIndex, cache.m_bulletMultiBody);