mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 06:37:27 +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.
|
// the model is still being downloaded.
|
||||||
return false;
|
return false;
|
||||||
|
} else if (type == SHAPE_TYPE_MESH) {
|
||||||
|
return (_model && _model->isLoaded());
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue