fix tokenizeNextLine

This commit is contained in:
Massimiliano Corsini 2008-10-27 15:19:28 +00:00
parent 4db69febbe
commit e98422ee49
1 changed files with 1 additions and 1 deletions
wrap/io_trimesh

View File

@ -604,7 +604,7 @@ static int Open( OpenMeshType &m, const char * filename, Info &oi)
if(from!=length)
{
to = from+1;
while (to!=length && line[to]!=' ' && line[to]!='\r')
while (to!=length && line[to]!=' ' && line[to] != '\t' && line[to]!='\r')
to++;
tokens.push_back(line.substr(from, to-from).c_str());
from = to;