mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:38:02 +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();
|
ShapeType type = getShapeType();
|
||||||
|
|
||||||
auto model = getModel();
|
auto model = getModel();
|
||||||
if (!model) {
|
if (!model || !model->isLoaded()) {
|
||||||
type = SHAPE_TYPE_NONE;
|
type = SHAPE_TYPE_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue