diff --git a/wrap/io_trimesh/import_obj.h b/wrap/io_trimesh/import_obj.h index 3b4d704c..c12119e3 100644 --- a/wrap/io_trimesh/import_obj.h +++ b/wrap/io_trimesh/import_obj.h @@ -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;