mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 03:04:33 +02:00
fix crash
This commit is contained in:
parent
d1752211e6
commit
ab3548cac0
1 changed files with 2 additions and 0 deletions
|
@ -593,6 +593,8 @@ bool RenderableModelEntityItem::isReadyToComputeShape() {
|
|||
|
||||
// the model is still being downloaded.
|
||||
return false;
|
||||
} else if (type == SHAPE_TYPE_MESH) {
|
||||
return (_model && _model->isLoaded());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue