mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
trigger collision shape render mesh creation
This commit is contained in:
parent
3b772d2fe6
commit
481d6990a3
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue