fix crash

This commit is contained in:
Andrew Meadows 2016-06-15 14:56:57 -07:00
parent d1752211e6
commit ab3548cac0

View file

@ -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;
}