浏览代码

remove SkipSpaceAndLineEnd after parsing end_header in PlyParser.cpp

YoheiKakiuchi 11 年之前
父节点
当前提交
52916b094c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      code/PlyParser.cpp

+ 2 - 1
code/PlyParser.cpp

@@ -458,7 +458,8 @@ bool PLY::DOM::ParseHeader (const char* pCur,const char** pCurOut)
 			SkipLine(&pCur);
 		}
 	}
-	SkipSpacesAndLineEnd(pCur,&pCur);
+	// Is this needed ? it can't work as expected, if binary data start with values as space or line end.
+	// SkipSpacesAndLineEnd(pCur,&pCur);
 	*pCurOut = pCur;
 
 	DefaultLogger::get()->debug("PLY::DOM::ParseHeader() succeeded");