Commit 12638100 authored by Mike Kremer's avatar Mike Kremer

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
parent fac109fa
......@@ -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())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment