From 52916b094c331da5ea615d095adb8d5d3371e23e Mon Sep 17 00:00:00 2001 From: YoheiKakiuchi Date: Thu, 6 Feb 2014 12:55:52 +0900 Subject: [PATCH] remove SkipSpaceAndLineEnd after parsing end_header in PlyParser.cpp --- code/PlyParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/PlyParser.cpp b/code/PlyParser.cpp index 792392511..8b0aa111c 100644 --- a/code/PlyParser.cpp +++ b/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");