@ -92,10 +92,9 @@ void AnySceneImporter::doOpenFile(const std::string& filename) {
plugin = "DxfImporter";
else if(Utility::String::endsWith(normalized, ".fbx"))
plugin = "FbxImporter";
else if(Utility::String::endsWith(normalized, ".gltf"))
else if(Utility::String::endsWith(normalized, ".gltf") ||
Utility::String::endsWith(normalized, ".glb"))
plugin = "GltfImporter";
else if(Utility::String::endsWith(normalized, ".glb"))
plugin = "GlbImporter";
else if(Utility::String::endsWith(normalized, ".ifc"))
plugin = "IfcImporter";
else if(Utility::String::endsWith(normalized, ".irrmesh") ||
@ -68,8 +68,8 @@ tries to open the file with it. Supported formats:
- DirectX X (`*.x`), loaded with any plugin that provides `DirectXImporter`
- AutoCAD DXF (`*.dxf`), loaded with any plugin that provides `DxfImporter`
- Autodesk FBX (`*.fbx`), loaded with any plugin that provides `FbxImporter`
- glTF (`*.gltf`), loaded with any plugin that provides `GltfImporter`
- Binary glTF (`*.glb`), loaded with any plugin that provides `GlbImporter`
- glTF (`*.gltf`, `*.glb`), loaded with any plugin that provides
`GltfImporter`
- Industry Foundation Classes (IFC/Step) (`*.ifc`), loaded with any plugin
that provides `IfcImporter`
- Irrlicht Mesh and Scene (`*.irrmesh`, `*.irr`), loaded with any plugin that
@ -76,7 +76,6 @@ constexpr struct {
{"COLLADA", "xml.dae", "ColladaImporter"},
{"FBX", "autodesk.fbx", "FbxImporter"},
{"glTF", "khronos.gltf", "GltfImporter"},
{"glTF binary", "khronos.glb", "GlbImporter"},
{"OpenGEX", "eric.ogex", "OpenGexImporter"},
{"Stanford PLY", "bunny.ply", "StanfordImporter"},
{"Stanford PLY uppercase", "ARMADI~1.PLY", "StanfordImporter"},