From eaba73f922be4c9a6c25aaa43b05ec61d5cbd8a2 Mon Sep 17 00:00:00 2001 From: Xiao Qi Date: Mon, 31 Oct 2022 14:18:05 +0800 Subject: [PATCH] Recognise fbx files in addition to gltf --- Assimp Compile Application/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assimp Compile Application/src/main.cpp b/Assimp Compile Application/src/main.cpp index 50e7dcb..5691b98 100644 --- a/Assimp Compile Application/src/main.cpp +++ b/Assimp Compile Application/src/main.cpp @@ -23,7 +23,8 @@ int main(int argc, char* argv[]) { for (auto const& dir : std::filesystem::recursive_directory_iterator{ "./Assets/" }) { - if (dir.path().extension().string() == GLTF_EXTENSION) + if (dir.path().extension().string() == GLTF_EXTENSION || + dir.path().extension().string() == FBX_EXTENSION) { paths.push_back(dir.path().string()); }