From d7e30543eced4aacf885d00abd166875c6cb3ef3 Mon Sep 17 00:00:00 2001 From: Naftali Deutsch <30855241+NaftaliD@users.noreply.github.com> Date: Wed, 2 Nov 2022 20:48:24 +0200 Subject: [PATCH] Updated check for is_verbode_format on scene export --- code/Common/Exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Common/Exporter.cpp b/code/Common/Exporter.cpp index b25b37d57..445d0cef3 100644 --- a/code/Common/Exporter.cpp +++ b/code/Common/Exporter.cpp @@ -370,7 +370,7 @@ aiReturn Exporter::Export( const aiScene* pScene, const char* pFormatId, const c // format. They will likely not be aware that there is a flag in the scene to indicate // this, however. To avoid surprises and bug reports, we check for duplicates in // meshes upfront. - const bool is_verbose_format = !(pScene->mFlags & AI_SCENE_FLAGS_NON_VERBOSE_FORMAT) || MakeVerboseFormatProcess::IsVerboseFormat(pScene); + const bool is_verbose_format = !((pScene->mFlags & AI_SCENE_FLAGS_NON_VERBOSE_FORMAT) || !MakeVerboseFormatProcess::IsVerboseFormat(pScene)); pimpl->mProgressHandler->UpdateFileWrite(0, 4);