mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Update message for failed bakes inside of AssetServer.cpp
This commit is contained in:
parent
c555590e9b
commit
0a00227ce3
2 changed files with 2 additions and 2 deletions
|
@ -1338,7 +1338,7 @@ QString getBakeMapping(const AssetUtils::AssetHash& hash, const QString& relativ
|
|||
}
|
||||
|
||||
void AssetServer::handleFailedBake(QString originalAssetHash, QString assetPath, QString errors) {
|
||||
qDebug() << "Failed: " << originalAssetHash << assetPath << errors;
|
||||
qDebug() << "Failed to bake: " << originalAssetHash << assetPath << "(" << errors << ")";
|
||||
|
||||
bool loaded;
|
||||
AssetMeta meta;
|
||||
|
|
|
@ -62,7 +62,7 @@ void BakerCLI::bakeFile(QUrl inputUrl, const QString& outputPath, const QString&
|
|||
_baker->moveToThread(Oven::instance().getNextWorkerThread());
|
||||
} else if (isScript) {
|
||||
_baker = std::unique_ptr<Baker> { new JSBaker(inputUrl, outputPath) };
|
||||
_baker->moveToThread(qApp->getNextWorkerThread());
|
||||
_baker->moveToThread(Oven::instance().getNextWorkerThread());
|
||||
} else if (isSupportedImage) {
|
||||
_baker = std::unique_ptr<Baker> { new TextureBaker(inputUrl, image::TextureUsage::CUBE_TEXTURE, outputPath) };
|
||||
_baker->moveToThread(Oven::instance().getNextWorkerThread());
|
||||
|
|
Loading…
Reference in a new issue