Recognise fbx files in addition to gltf

This commit is contained in:
Xiao Qi 2022-10-31 14:18:05 +08:00
parent 68c4e729a1
commit eaba73f922
1 changed files with 2 additions and 1 deletions

View File

@ -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());
}