assimp/code/AssetLib/Blender
Krishty b00de10eb3 Simplified importer search and fixed a few bugs
The search for a matching importer had a few issues, see #3791. There were two different mechanisms to determine whether an importer accepts a specific file extension:
1. `aiImporterDesc::mFileExtensions`, which was forwarded to the UI via `BaseImporter::GetExtensionList()`.
2. `BaseImporter::CanRead()` when called with `checkSig == false`, which determines whether to actually use that importer.
Both were redundant and got out of sync repeatedly. I removed 2. completely and replaced it with 1., thereby syncing UI/import and shortening all `BaseImporter::CanRead()` implementations.

Further bugfixes:
- fixed glTF2 importer throwing exceptions when checking whether it can load a file
- removed `BaseImporter::SimpleExtensionCheck()` because it is no longer used and had a bug with case sensitivity

Since the `checkSig` parameter in `BaseImporter::CanRead()` is now useless, it can be removed completely. I’m not sure if this would break ABI compatiblity, so I’ll submit it with a later pull request.
2021-04-24 00:17:50 +02:00
..
BlenderBMesh.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderBMesh.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderCustomData.cpp Build formatting into DeadlyImportError 2020-08-18 16:32:34 +01:00
BlenderCustomData.h Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
BlenderDNA.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderDNA.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderDNA.inl Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderIntermediate.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderLoader.cpp Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
BlenderLoader.h removed dead code 2021-04-23 15:15:21 +02:00
BlenderModifier.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderModifier.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderScene.cpp Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
BlenderScene.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderSceneGen.h Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
BlenderTessellator.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BlenderTessellator.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00