Update ObjFileParser.cpp

Fixed error message
pull/1085/head
Giuseppe Barbieri 2016-11-27 20:32:59 +01:00 committed by GitHub
parent 685d78cdaf
commit fe7863d22f
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ void ObjFileParser::getMaterialLib() {
DefaultLogger::get()->info("OBJ: Opening fallback material file " + strMatFallbackName);
pFile = m_pIO->Open(strMatFallbackName);
if (!pFile) {
DefaultLogger::get()->error("OBJ: Unable to locate fallback material file " + strMatName);
DefaultLogger::get()->error("OBJ: Unable to locate fallback material file " + strMatFallbackName);
m_DataIt = skipLine<DataArrayIt>(m_DataIt, m_DataItEnd, m_uiLine);
return;
}