Fix model being loaded before dimensions are initialized

This commit is contained in:
sabrina-shanman 2018-10-05 17:18:59 -07:00
parent c8cccc5ec7
commit e15a41c839

View file

@ -353,7 +353,7 @@ bool RenderableModelEntityItem::isReadyToComputeShape() const {
return false;
}
if (model->getURL().isEmpty()) {
if (model->getURL().isEmpty() || !_dimensionsInitialized) {
// we need a render geometry with a scale to proceed, so give up.
return false;
}