mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Updated assimp to latest
This commit is contained in:
parent
25ce4477ce
commit
161bf7f83b
461 changed files with 34662 additions and 30165 deletions
|
|
@ -3,7 +3,8 @@
|
|||
Open Asset Import Library (assimp)
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
Copyright (c) 2006-2017, assimp team
|
||||
Copyright (c) 2006-2019, assimp team
|
||||
|
||||
|
||||
|
||||
All rights reserved.
|
||||
|
|
@ -51,7 +52,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <assimp/IOSystem.hpp>
|
||||
#include <assimp/scene.h>
|
||||
#include <assimp/importerdesc.h>
|
||||
#include "StreamReader.h"
|
||||
#include <assimp/StreamReader.h>
|
||||
#include <map>
|
||||
|
||||
using namespace Assimp;
|
||||
|
|
@ -129,18 +130,18 @@ void NDOImporter::InternReadFile( const std::string& pFile,
|
|||
unsigned int file_format = 12;
|
||||
if (!strncmp("1.0",head+6,3)) {
|
||||
file_format = 10;
|
||||
DefaultLogger::get()->info("NDO file format is 1.0");
|
||||
ASSIMP_LOG_INFO("NDO file format is 1.0");
|
||||
}
|
||||
else if (!strncmp("1.1",head+6,3)) {
|
||||
file_format = 11;
|
||||
DefaultLogger::get()->info("NDO file format is 1.1");
|
||||
ASSIMP_LOG_INFO("NDO file format is 1.1");
|
||||
}
|
||||
else if (!strncmp("1.2",head+6,3)) {
|
||||
file_format = 12;
|
||||
DefaultLogger::get()->info("NDO file format is 1.2");
|
||||
ASSIMP_LOG_INFO("NDO file format is 1.2");
|
||||
}
|
||||
else {
|
||||
DefaultLogger::get()->warn(std::string("Unrecognized nendo file format version, continuing happily ... :") + (head+6));
|
||||
ASSIMP_LOG_WARN_F( "Unrecognized nendo file format version, continuing happily ... :", (head+6));
|
||||
}
|
||||
|
||||
reader.IncPtr(2); /* skip flags */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue