also add serializeContactManifolds to btSoftMultiBodyDynamicsWorld.cpp and btDiscreteDynamicsWorld.

This commit is contained in:
Erwin Coumans 2017-12-30 14:20:20 -08:00
parent 0326fa93a8
commit 4084c1cc71
2 changed files with 4 additions and 0 deletions

View File

@ -1533,6 +1533,8 @@ void btDiscreteDynamicsWorld::serialize(btSerializer* serializer)
serializeRigidBodies(serializer);
serializeContactManifolds(serializer);
serializer->finishSerialization();
}

View File

@ -361,6 +361,8 @@ void btSoftMultiBodyDynamicsWorld::serialize(btSerializer* serializer)
serializeCollisionObjects(serializer);
serializeContactManifolds(serializer);
serializer->finishSerialization();
}