Recognise fbx files in addition to gltf
This commit is contained in:
parent
68c4e729a1
commit
eaba73f922
|
@ -23,7 +23,8 @@ int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
for (auto const& dir : std::filesystem::recursive_directory_iterator{ "./Assets/" })
|
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());
|
paths.push_back(dir.path().string());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue