Log baker errors

This commit is contained in:
Atlante45 2017-08-29 16:43:09 -07:00
parent b1bc899121
commit 3aee6db1e8

View file

@ -84,7 +84,7 @@ void BakeAssetTask::run() {
loop.exec();
if (baker->hasErrors()) {
qDebug() << "Failed to bake: " << _assetHash << _assetPath;
qDebug() << "Failed to bake: " << _assetHash << _assetPath << baker->getErrors();
} else {
auto vectorOutputFiles = QVector<QString>::fromStdVector(baker->getOutputFiles());
qDebug() << "Finished baking: " << _assetHash << _assetPath << vectorOutputFiles;