reduced the scope of iStep variable

pull/3003/head
iamAdrianIusca 2020-02-13 00:27:30 +02:00
parent 24cdb1f221
commit 6f1870681b
1 changed files with 2 additions and 2 deletions

View File

@ -431,9 +431,9 @@ void ObjFileParser::getFace( aiPrimitiveType type ) {
const bool vt = (!m_pModel->m_TextureCoord.empty());
const bool vn = (!m_pModel->m_Normals.empty());
int iStep, iPos = 0;
int iPos = 0;
while ( m_DataIt != m_DataItEnd ) {
iStep = 1;
int iStep = 1;
if ( IsLineEnd( *m_DataIt ) ) {
break;