check for unloaded model

This commit is contained in:
Andrew Meadows 2019-05-21 07:49:21 -07:00
parent c1de3ecfd8
commit 045b0f7cf8

View file

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