Utility: Fix OBJ & MTL parsing when extra-space are present
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user