assimp/code/Common
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
..
AssertHandler.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
AssertHandler.h Allow assert handling to be replaced. 2020-06-23 11:55:51 +01:00
Assimp.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BaseImporter.cpp Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
BaseProcess.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
BaseProcess.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Bitmap.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
CreateAnimMesh.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
DefaultIOStream.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
DefaultIOSystem.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
DefaultLogger.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
DefaultProgressHandler.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Exceptional.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Exporter.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
FileLogStream.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
FileSystemFilter.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
IFF.h Fix references in cmake file. 2019-06-09 18:43:56 +02:00
Importer.cpp Simplified importer search and fixed a few bugs 2021-04-24 00:17:50 +02:00
Importer.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
ImporterRegistry.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
PolyTools.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
PostStepRegistry.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
RemoveComments.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
SGSpatialSort.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
SceneCombiner.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
ScenePreprocessor.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
ScenePreprocessor.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
ScenePrivate.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
SkeletonMeshBuilder.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
SpatialSort.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
StandardShapes.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
StdOStreamLogStream.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Subdivision.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
TargetAnimation.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
TargetAnimation.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Version.cpp updated version string (if anyone cares) 2021-04-19 07:37:12 +02:00
VertexTriangleAdjacency.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
VertexTriangleAdjacency.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
Win32DebugLogStream.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
ZipArchiveIOSystem.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
assbin_chunks.h Renamed WriteDumb.cpp to WriteDump.cpp 2020-01-30 16:40:34 -05:00
material.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
scene.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
simd.cpp Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
simd.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00