IOSystem: add missing documentation.

This commit is contained in:
Kim Kulling
2015-08-30 15:37:56 +02:00
parent e4510c26ba
commit e9937ab0f7
2 changed files with 24 additions and 10 deletions

View File

@@ -544,12 +544,10 @@ void ObjFileParser::getMaterialLib()
} else {
absName = strMatName;
}
//IOStream *pFile = m_pIO->Open( strMatName );
IOStream *pFile = m_pIO->Open( absName );
if (!pFile )
{
DefaultLogger::get()->error("OBJ: Unable to locate material file " + strMatName );
if (!pFile ) {
DefaultLogger::get()->error( "OBJ: Unable to locate material file " + strMatName );
m_DataIt = skipLine<DataArrayIt>( m_DataIt, m_DataItEnd, m_uiLine );
return;
}