OBJReader: Fixed error with some material files containing tabs.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@271 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -172,7 +172,7 @@ read_material(std::fstream& _in)
|
||||
|
||||
stream >> keyWrd;
|
||||
|
||||
if( isspace(line[0]) || line[0] == '#' )
|
||||
if( ( isspace(line[0]) && line[0] != 0x09 /*tab*/ ) || line[0] == '#' )
|
||||
{
|
||||
if (indef && !key.empty() && mat.is_valid())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user