Utility: Fix OBJ & MTL parsing when extra-space are present
This commit is contained in:
parent
ff16970542
commit
04e177a1fe
|
|
@ -645,6 +645,8 @@ namespace Nz
|
|||
m_currentLine.clear();
|
||||
}
|
||||
|
||||
m_currentLine = Trim(m_currentLine);
|
||||
|
||||
if (m_currentLine.empty())
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -656,6 +656,8 @@ namespace Nz
|
|||
m_currentLine.clear();
|
||||
}
|
||||
|
||||
m_currentLine = Trim(m_currentLine);
|
||||
|
||||
if (m_currentLine.empty())
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue