Add usage of log macros.
This commit is contained in:
@@ -153,9 +153,9 @@ void UnrealImporter::InternReadFile( const std::string& pFile,
|
||||
a_path = extension+"_a.3d";
|
||||
uc_path = extension+".uc";
|
||||
|
||||
DefaultLogger::get()->debug("UNREAL: data file is " + d_path);
|
||||
DefaultLogger::get()->debug("UNREAL: aniv file is " + a_path);
|
||||
DefaultLogger::get()->debug("UNREAL: uc file is " + uc_path);
|
||||
ASSIMP_LOG_DEBUG_F( "UNREAL: data file is ", d_path);
|
||||
ASSIMP_LOG_DEBUG_F("UNREAL: aniv file is ", a_path);
|
||||
ASSIMP_LOG_DEBUG_F("UNREAL: uc file is ", uc_path);
|
||||
|
||||
// and open the files ... we can't live without them
|
||||
std::unique_ptr<IOStream> p(pIOHandler->Open(d_path));
|
||||
@@ -179,7 +179,7 @@ void UnrealImporter::InternReadFile( const std::string& pFile,
|
||||
|
||||
tri.mVertex[i] = d_reader.GetI2();
|
||||
if (tri.mVertex[i] >= numTris) {
|
||||
DefaultLogger::get()->warn("UNREAL: vertex index out of range");
|
||||
ASSIMP_LOG_WARN("UNREAL: vertex index out of range");
|
||||
tri.mVertex[i] = 0;
|
||||
}
|
||||
}
|
||||
@@ -324,7 +324,7 @@ void UnrealImporter::InternReadFile( const std::string& pFile,
|
||||
}
|
||||
}
|
||||
else {
|
||||
DefaultLogger::get()->error("Unable to open .uc file");
|
||||
ASSIMP_LOG_ERROR("Unable to open .uc file");
|
||||
}
|
||||
|
||||
std::vector<Unreal::TempMat> materials;
|
||||
|
||||
Reference in New Issue
Block a user