From e98422ee497447d3c0b6cd77219d092a5fd6cba1 Mon Sep 17 00:00:00 2001 From: maxcorsini Date: Mon, 27 Oct 2008 15:19:28 +0000 Subject: [PATCH] fix tokenizeNextLine --- wrap/io_trimesh/import_obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;