INtroduce new log macros.
This commit is contained in:
@@ -130,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 {
|
||||
ASSIMP_LOG_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 */
|
||||
|
||||
Reference in New Issue
Block a user