From 741ffef5185b4fc524fb97ed40cee2a7fc183da4 Mon Sep 17 00:00:00 2001 From: danielbui78 Date: Mon, 23 Oct 2023 16:25:33 -0400 Subject: [PATCH] version update, code cleanup --- include/common_version.h | 2 +- src/DzBridgeAction.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/common_version.h b/include/common_version.h index 2a6fb27..9995363 100644 --- a/include/common_version.h +++ b/include/common_version.h @@ -5,6 +5,6 @@ #define COMMON_MAJOR 2023 #define COMMON_MINOR 2 #define COMMON_REV 1 -#define COMMON_BUILD 79 +#define COMMON_BUILD 80 #define COMMON_VERSION DZ_MAKE_VERSION( COMMON_MAJOR, COMMON_MINOR, COMMON_REV, COMMON_BUILD ) diff --git a/src/DzBridgeAction.cpp b/src/DzBridgeAction.cpp index 59fbc1e..5cc94bb 100644 --- a/src/DzBridgeAction.cpp +++ b/src/DzBridgeAction.cpp @@ -2457,8 +2457,7 @@ unsigned int DzBridgeAction::calcCRC32(QString sFilename) return crc32Result; } -// TODO: This method will fail because uncompressed textures of the same dimension -// will have the same file size. Instead, must use a file content hash function. +// 2023-Oct-23: Method now works (mostly), size file check supplemented with CRC32 as file content hash. QString DzBridgeAction::makeUniqueFilename(QString sTargetFilename, QString sOriginalFilename) { if (QFileInfo(sTargetFilename).exists() != true) @@ -4373,7 +4372,6 @@ bool DzBridgeAction::postProcessFbx(QString fbxFilePath) } // Remove Extra Geograft nodes and geometry - // TODO: replace with list generated during export if (m_bRemoveDuplicateGeografts) { for (QString searchString : m_aGeografts)