only add compound child shapes to 'allocated' list once

This commit is contained in:
Erwin Coumans
2016-07-16 17:58:06 -07:00
parent e2bdd7dbb1
commit 589fa376b3
2 changed files with 1 additions and 19 deletions

View File

@@ -1065,7 +1065,7 @@ btCollisionShape* BulletURDFImporter::getAllocatedCollisionShape(int index)
btTransform childTrans = col.m_linkLocalFrame;
compoundShape->addChildShape(localInertiaFrame.inverse()*childTrans,childShape);
}
}
}
}