From fe9b1de908e0cbcbbca0c21019368a84fff98711 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Fri, 16 Feb 2018 09:28:58 -0800 Subject: [PATCH] Fix PR builds --- tools/ktx-tool/src/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/ktx-tool/src/main.cpp b/tools/ktx-tool/src/main.cpp index 49ffc0df60..f0996523b3 100644 --- a/tools/ktx-tool/src/main.cpp +++ b/tools/ktx-tool/src/main.cpp @@ -53,9 +53,13 @@ void stripKtxKeyValues(const std::string& sourceFile, const std::string& destFil ktx::KTX::write(destStorage.mutableData(), newStorageSize, ktx->_header, ktx->_images); } - +#if DEV_BUILD const QDir SOURCE_FOLDER{ PathUtils::projectRootPath() + "/interface/resources/meshes/mannequin" }; const QDir DEST_FOLDER{ PathUtils::projectRootPath() + "/interface/resources/meshes/mannequin/+gles" }; +#else +const QDir SOURCE_FOLDER{ PathUtils::resourcesPath() + "/interface/resources/meshes/mannequin" }; +const QDir DEST_FOLDER{ PathUtils::resourcesPath() + "/interface/resources/meshes/mannequin/+gles" }; +#endif void messageHandler(QtMsgType type, const QMessageLogContext& context, const QString& message) {