From d48ac9d0a4297889a65c4376cd874b408f8c295a Mon Sep 17 00:00:00 2001 From: john <867409182@qq.com> Date: Sun, 18 Oct 2020 10:54:04 +0800 Subject: [PATCH 1/3] fix xcode compile bug --- code/Common/DefaultLogger.cpp | 2 +- include/assimp/Logger.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Common/DefaultLogger.cpp b/code/Common/DefaultLogger.cpp index 8c946e8fd..90dbed67c 100644 --- a/code/Common/DefaultLogger.cpp +++ b/code/Common/DefaultLogger.cpp @@ -260,7 +260,7 @@ void DefaultLogger::kill() { // ---------------------------------------------------------------------------------- // Debug message void DefaultLogger::OnDebug(const char *message) { - if (m_Severity < Logger::DEBUG) { + if (m_Severity < Logger::DEBUGING) { return; } diff --git a/include/assimp/Logger.hpp b/include/assimp/Logger.hpp index 1e5a61eee..08ef8f42f 100644 --- a/include/assimp/Logger.hpp +++ b/include/assimp/Logger.hpp @@ -74,7 +74,7 @@ public: */ enum LogSeverity { NORMAL, //!< Normal granularity of logging - DEBUG, //!< Debug messages will be logged, but not verbose debug messages. + DEBUGING, //!< Debug messages will be logged, but not verbose debug messages. VERBOSE //!< All messages will be logged }; From 8d7e5db98c31ecfc87c0166cb2d5bb1d2309a177 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 22 Oct 2020 22:26:03 +0200 Subject: [PATCH 2/3] Fix typo. --- include/assimp/Logger.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/assimp/Logger.hpp b/include/assimp/Logger.hpp index 08ef8f42f..2ea4dacb7 100644 --- a/include/assimp/Logger.hpp +++ b/include/assimp/Logger.hpp @@ -73,9 +73,9 @@ public: * @brief Log severity to describe the granularity of logging. */ enum LogSeverity { - NORMAL, //!< Normal granularity of logging - DEBUGING, //!< Debug messages will be logged, but not verbose debug messages. - VERBOSE //!< All messages will be logged + NORMAL, ///< Normal granularity of logging + DEBUGGING, ///< Debug messages will be logged, but not verbose debug messages. + VERBOSE ///< All messages will be logged }; // ---------------------------------------------------------------------- From 6ee5e248ee52803109b14ebe5f2bb018ac085a23 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 22 Oct 2020 22:26:29 +0200 Subject: [PATCH 3/3] Fix typo --- code/Common/DefaultLogger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Common/DefaultLogger.cpp b/code/Common/DefaultLogger.cpp index 90dbed67c..76a5cbab7 100644 --- a/code/Common/DefaultLogger.cpp +++ b/code/Common/DefaultLogger.cpp @@ -260,7 +260,7 @@ void DefaultLogger::kill() { // ---------------------------------------------------------------------------------- // Debug message void DefaultLogger::OnDebug(const char *message) { - if (m_Severity < Logger::DEBUGING) { + if (m_Severity < Logger::DEBUGGING) { return; }