FIX: WaveFront MTL files will no line break at the end will now read properly.
Manually removing the line break from a test file for regression testing. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@418 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
84c6b4fde6
commit
077511b1a0
|
@ -284,10 +284,7 @@ void ObjFileMtlImporter::getTexture()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string strTexture;
|
std::string strTexture;
|
||||||
m_DataIt = getName<DataArrayIt>( m_DataIt, m_DataItEnd, strTexture );
|
getName<DataArrayIt>( m_DataIt, m_DataItEnd, strTexture );
|
||||||
if ( m_DataItEnd == m_DataIt )
|
|
||||||
return;
|
|
||||||
|
|
||||||
out->Set( strTexture );
|
out->Set( strTexture );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue