Fix broken CDTestFramework

Avoid crash in BulletWorldImporter, ignoring 'invalid' constraints between two static bodies
Use a bitfield for btCollisionObject::CollisionObjectTypes (to allow custom types that are derived from build-in types such as btRigidBody)
Revert/improve softbody debug rendering
This commit is contained in:
erwin.coumans
2010-08-15 20:45:55 +00:00
parent 4f9b450200
commit 844a54a409
14 changed files with 187 additions and 158 deletions

View File

@@ -684,6 +684,8 @@ bool btBulletWorldImporter::convertAllObjects( bParse::btBulletFile* bulletFile
if (!rbB)
rbB = &getFixedBody();
}
if (!rbA && !rbB)
continue;
btTypedConstraint* constraint = 0;