trigger collision shape render mesh creation

This commit is contained in:
Andrew Meadows 2016-07-26 17:07:16 -07:00
parent 3b772d2fe6
commit 481d6990a3

View file

@ -1411,6 +1411,7 @@ void Model::setCollisionMesh(model::MeshPointer mesh) {
_collisionGeometry = std::make_shared<CollisionRenderGeometry>(mesh);
if (_showCollisionHull) {
_needsFixupInScene = true;
// TODO: need to trigger:
// (a) reconstruction of RenderItems
// (b) and reinsertion into scene if we are showing collision geometry