assimp/code
Max Vollmer 84e060a816 Change: ExtractData throws exception instead of returning false if data is invalid.
Explanation: The return value of ExtractData is never checked anywhere in code. However if it returns false, outData remains uninitialized. All code using ExtractData assumes outData is initialized and proceeds to using it. I haven't encountered a real-life case where this goes wrong - but the simple fact that it can go wrong is a red flag. Instead of relying on every bit of code checking the return value and handling this properly, I think it makes much more sense to have ExtractData throw an exception. It obviously is an exceptional situation, and throwing makes sure that no code that doesn't explicitly handle such a scenario continues running and potentially causing harm.
2020-03-11 09:40:42 +00:00
..
3DS Updated copyright dates. 2020-01-20 08:53:12 -05:00
3MF Updated copyright dates. 2020-01-20 08:53:12 -05:00
AC Updated copyright dates. 2020-01-20 08:53:12 -05:00
AMF Updated copyright dates. 2020-01-20 08:53:12 -05:00
ASE Updated copyright dates. 2020-01-20 08:53:12 -05:00
Assbin Potentially fixed strncpy warning by Coverity. 2020-01-28 14:02:09 -05:00
Assjson Suppressed MSVC++ warning C4244 2020-01-16 18:21:28 +01:00
Assxml Refactored Assxml exporter and dump xml writer. 2020-01-29 13:44:51 -05:00
B3D Updated copyright dates. 2020-01-20 08:53:12 -05:00
BVH Updated copyright dates. 2020-01-20 08:53:12 -05:00
Blender Updated copyright dates. 2020-01-20 08:53:12 -05:00
C4D Updated copyright dates. 2020-01-20 08:53:12 -05:00
CApi Updated copyright dates. 2020-01-20 08:53:12 -05:00
COB Fixed a bunch of clang warnings 2020-01-30 18:42:30 -05:00
CSM Updated copyright dates. 2020-01-20 08:53:12 -05:00
Collada Updated copyright dates. 2020-01-20 08:53:12 -05:00
Common small refactorings. 2020-03-09 10:55:32 +01:00
DXF Updated copyright dates. 2020-01-20 08:53:12 -05:00
FBX Merge branch 'master' into FBXMeshGeometry_checksizes_fix 2020-02-12 17:58:00 +01:00
HMP Updated copyright dates. 2020-01-20 08:53:12 -05:00
Importer Fixed a bunch of clang warnings 2020-01-30 18:42:30 -05:00
Irr Updated copyright dates. 2020-01-20 08:53:12 -05:00
LWO Updated copyright dates. 2020-01-20 08:53:12 -05:00
LWS Updated copyright dates. 2020-01-20 08:53:12 -05:00
M3D Update M3DImporter.cpp 2020-02-12 14:54:00 +01:00
MD2 Updated copyright dates. 2020-01-20 08:53:12 -05:00
MD3 Updated copyright dates. 2020-01-20 08:53:12 -05:00
MD4 Updated copyright dates. 2020-01-20 08:53:12 -05:00
MD5 Updated copyright dates. 2020-01-20 08:53:12 -05:00
MDC Updated copyright dates. 2020-01-20 08:53:12 -05:00
MDL Merge branch 'master' into hl1-mdl-remove-texture-256-clamping-2 2020-02-06 14:39:09 +01:00
MMD Updated copyright dates. 2020-01-20 08:53:12 -05:00
MS3D Updated copyright dates. 2020-01-20 08:53:12 -05:00
Material Updated copyright dates. 2020-01-20 08:53:12 -05:00
NDO Updated copyright dates. 2020-01-20 08:53:12 -05:00
NFF Updated copyright dates. 2020-01-20 08:53:12 -05:00
OFF Updated copyright dates. 2020-01-20 08:53:12 -05:00
Obj small fix 2020-02-18 21:55:35 +02:00
Ogre Updated copyright dates. 2020-01-20 08:53:12 -05:00
OpenGEX Updated copyright dates. 2020-01-20 08:53:12 -05:00
Ply Updated copyright dates. 2020-01-20 08:53:12 -05:00
PostProcessing small refactorings. 2020-03-09 10:55:32 +01:00
Q3BSP Updated copyright dates. 2020-01-20 08:53:12 -05:00
Q3D Updated copyright dates. 2020-01-20 08:53:12 -05:00
Raw Updated copyright dates. 2020-01-20 08:53:12 -05:00
SIB Updated copyright dates. 2020-01-20 08:53:12 -05:00
SMD Updated copyright dates. 2020-01-20 08:53:12 -05:00
STL Updated copyright dates. 2020-01-20 08:53:12 -05:00
Step Updated copyright dates. 2020-01-20 08:53:12 -05:00
Terragen Updated copyright dates. 2020-01-20 08:53:12 -05:00
Unreal Updated copyright dates. 2020-01-20 08:53:12 -05:00
X Merge branch 'master' into update-copyright-end-date 2020-01-22 18:03:43 +01:00
X3D Updated copyright dates. 2020-01-20 08:53:12 -05:00
XGL Fixed a bunch of clang warnings 2020-01-30 18:42:30 -05:00
glTF A bug when importing multiple gltf files 2020-02-14 08:41:55 +01:00
glTF2 Change: ExtractData throws exception instead of returning false if data is invalid. 2020-03-11 09:40:42 +00:00
res Updated copyright dates. 2020-01-20 08:53:12 -05:00
.editorconfig Implemented: Add editor config for source code 2015-06-28 15:50:57 -06:00
CMakeLists.txt small refactorings. 2020-03-09 10:55:32 +01:00