Fixed many FBX bugs
authorrickomax <rickomax@hotmail.com>
Sat, 15 Jul 2017 03:27:33 +0000 (00:27 -0300)
committerrickomax <rickomax@hotmail.com>
Sat, 15 Jul 2017 03:27:33 +0000 (00:27 -0300)
commitc86013b08dd08af9fe8aa804e4cd46d15cb294cf
tree0ea983bcaf711e145827624bc181a30adca09d83
parentc9912fd481956df947ea485ae27a57101c85fe4b
Fixed many FBX bugs

Fixed a bug where FBX loader won´t load embedded textures that don´t have the Content data filled. Some FBX files only fill this data once, so any embedded texture with the same source filename, should use the pre-loaded data.

Fixed another bug where FBX Texture "Filename" field came different than  on some files than the one defined by the code. One suggestion is load all properties by the case-insensitive function created.

Added the "AI_CONFIG_IMPORT_FBX_SEARCH_EMBEDDED_TEXTURES" flag to tell the importer to load embedded texture data from already loaded ones.
code/FBXConverter.cpp
code/FBXImportSettings.h
code/FBXImporter.cpp
code/FBXMaterial.cpp
code/FBXParser.h
include/assimp/config.h.in