From 509973bfe7cfe9eec3ca256a1e8c76893ecb4dd2 Mon Sep 17 00:00:00 2001 From: Epicalert Date: Sun, 15 Sep 2024 04:32:51 +0800 Subject: [PATCH] Improve some console error messages --- texturecrafter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/texturecrafter.cpp b/texturecrafter.cpp index 4e2880c..7d3a4db 100644 --- a/texturecrafter.cpp +++ b/texturecrafter.cpp @@ -50,7 +50,7 @@ QUrl TextureCrafter::packChannels(QVector 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 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