assimp/code/AssetLib
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
..
3DS Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
3MF Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
AC Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
AMF Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
ASE Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Assbin Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Assjson Check _MSC_VER for MSVC specific pragma directives. 2020-12-02 02:05:14 +05:30
Assxml Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
B3D Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
BVH Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Blender Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
C4D Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
COB Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
CSM Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Collada Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
DXF Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
FBX Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
HMP Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
IFC Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Irr Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
LWO Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
LWS Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
M3D Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
MD2 Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
MD3 Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
MD4 Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
MD5 Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
MDC Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
MDL Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
MMD Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
MS3D Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
NDO Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
NFF Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
OFF Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Obj Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Ogre Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
OpenGEX Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Ply Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Q3BSP Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Q3D Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Raw Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
SIB Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
SMD Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
STEPParser Fix parsing for AMF-Files. 2021-04-03 10:25:03 +02:00
STL Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Step Flip the check on _MSC_VER for using TR1 containers. 2021-04-13 11:15:52 -07:00
Terragen Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Unreal Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
X Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
X3D Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
XGL Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
glTF Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
glTF2 Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00