From fe7863d22f6d915a66dfe99034ee0e482713a44e Mon Sep 17 00:00:00 2001 From: Giuseppe Barbieri Date: Sun, 27 Nov 2016 20:32:59 +0100 Subject: [PATCH] Update ObjFileParser.cpp Fixed error message --- code/ObjFileParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ObjFileParser.cpp b/code/ObjFileParser.cpp index b3b106d3f..df9fe6be9 100644 --- a/code/ObjFileParser.cpp +++ b/code/ObjFileParser.cpp @@ -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(m_DataIt, m_DataItEnd, m_uiLine); return; }