Fix unsupported model types preventing DomainBaker from finishing

This commit is contained in:
sabrina-shanman 2019-03-18 15:58:25 -07:00
parent e6487332e8
commit b0b4307f27

View file

@ -176,14 +176,14 @@ void DomainBaker::addModelBaker(const QString& property, const QString& url, con
// keep track of the total number of baking entities
++_totalNumberOfSubBakes;
}
}
// add this QJsonValueRef to our multi hash so that we can easily re-write
// the model URL to the baked version once the baker is complete
_entitiesNeedingRewrite.insert(bakeableModelURL, { property, jsonRef });
}
}
}
}
void DomainBaker::addTextureBaker(const QString& property, const QString& url, image::TextureUsage::Type type, const QJsonValueRef& jsonRef) {
QString cleanURL = QUrl(url).adjusted(QUrl::RemoveQuery | QUrl::RemoveFragment).toDisplayString();