mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-17 00:36:03 +02:00
Fix model being loaded before dimensions are initialized
This commit is contained in:
parent
c8cccc5ec7
commit
e15a41c839
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue