Merge branch 'obj_with_linebreaks' of https://github.com/assimp/assimp into obj_with_linebreaks

This commit is contained in:
Kim Kulling
2017-05-31 20:18:39 +02:00
3 changed files with 37 additions and 26 deletions

View File

@@ -115,12 +115,9 @@ template<class char_t>
inline char_t skipLine( char_t it, char_t end, unsigned int &uiLine ) {
while( !isEndOfBuffer( it, end ) && !IsLineEnd( *it ) ) {
++it;
if ( *it == '\n' ) {
++it;
}
}
if ( it != end )
{
if ( it != end ) {
++it;
++uiLine;
}