Utility: Fix MD5/MTL/OBJ file parsing

This commit is contained in:
Lynix
2018-04-21 00:29:53 +02:00
parent 52f80a68cb
commit 7244f1681c
4 changed files with 12 additions and 0 deletions

View File

@@ -182,6 +182,9 @@ namespace Nz
m_lineCount++;
m_currentLine = m_stream.ReadLine();
if (m_currentLine.IsEmpty())
continue;
m_currentLine = m_currentLine.SubStringTo("//"); // On ignore les commentaires
m_currentLine.Simplify(); // Pour un traitement plus simple
m_currentLine.Trim();