mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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