mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 15:50:37 +02:00
Fix AssetServer not detecting missing bakeVersion
This commit is contained in:
parent
99c3e6cf78
commit
0003a32701
1 changed files with 1 additions and 1 deletions
|
@ -1485,7 +1485,7 @@ std::pair<bool, AssetMeta> AssetServer::readMetaFile(AssetUtils::AssetHash hash)
|
||||||
if (error.error == QJsonParseError::NoError && doc.isObject()) {
|
if (error.error == QJsonParseError::NoError && doc.isObject()) {
|
||||||
auto root = doc.object();
|
auto root = doc.object();
|
||||||
|
|
||||||
auto bakeVersion = root[BAKE_VERSION_KEY].toInt(INITIAL_BAKE_VERSION);
|
auto bakeVersion = root[BAKE_VERSION_KEY].toInt(-1);
|
||||||
auto failedLastBake = root[FAILED_LAST_BAKE_KEY];
|
auto failedLastBake = root[FAILED_LAST_BAKE_KEY];
|
||||||
auto lastBakeErrors = root[LAST_BAKE_ERRORS_KEY];
|
auto lastBakeErrors = root[LAST_BAKE_ERRORS_KEY];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue