2
0
Эх сурвалжийг харах

remove SkipSpaceAndLineEnd after parsing end_header in PlyParser.cpp

YoheiKakiuchi 11 жил өмнө
parent
commit
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");