mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +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);
|
_collisionGeometry = std::make_shared<CollisionRenderGeometry>(mesh);
|
||||||
|
|
||||||
if (_showCollisionHull) {
|
if (_showCollisionHull) {
|
||||||
|
_needsFixupInScene = true;
|
||||||
// TODO: need to trigger:
|
// TODO: need to trigger:
|
||||||
// (a) reconstruction of RenderItems
|
// (a) reconstruction of RenderItems
|
||||||
// (b) and reinsertion into scene if we are showing collision geometry
|
// (b) and reinsertion into scene if we are showing collision geometry
|
||||||
|
|
Loading…
Reference in a new issue