Improve some console error messages
This commit is contained in:
parent
f4190fbfab
commit
509973bfe7
|
@ -50,7 +50,7 @@ QUrl TextureCrafter::packChannels(QVector<QUrl> imagePaths) {
|
|||
QString outFileName = outDir.path();
|
||||
outFileName.append("/out.png");
|
||||
|
||||
printf("wrote to %s\n", outFileName.toLatin1().data());
|
||||
printf("writing to %s\n", outFileName.toLatin1().data());
|
||||
|
||||
//TODO: use libpng and do progressive write to update the progress bar
|
||||
if (outImage.save(outFileName)) {
|
||||
|
@ -58,10 +58,10 @@ QUrl TextureCrafter::packChannels(QVector<QUrl> imagePaths) {
|
|||
return QUrl::fromLocalFile(outFileName);
|
||||
} else {
|
||||
//TODO: return some error value to show the user
|
||||
printf("that dream is fucked it is fucking fucked\n");
|
||||
printf("that dream is fucked it is fucking fucked (write failed ;-;)\n");
|
||||
}
|
||||
} else {
|
||||
printf("chat its so over\n");
|
||||
printf("chat its so over (output dir invalid </3)\n");
|
||||
}
|
||||
|
||||
return QUrl();
|
||||
|
|
Loading…
Reference in a new issue