mirror of
https://github.com/overte-org/overte.git
synced 2025-04-10 16:12:28 +02:00
check for unloaded model
This commit is contained in:
parent
c1de3ecfd8
commit
045b0f7cf8
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ void RenderableModelEntityItem::computeShapeInfo(ShapeInfo& shapeInfo) {
|
|||
ShapeType type = getShapeType();
|
||||
|
||||
auto model = getModel();
|
||||
if (!model) {
|
||||
if (!model || !model->isLoaded()) {
|
||||
type = SHAPE_TYPE_NONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue