Utility/Formats: Fix MD5 loading

Former-commit-id: 05a4ee3745a6f5444a19c15f713fdd21d51a7804
This commit is contained in:
Lynix
2016-05-03 12:42:52 +02:00
parent f44abfb87c
commit 6c9a48d80e
3 changed files with 8 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ namespace Nz
// Pour que le squelette soit correctement aligné, il faut appliquer un quaternion "de correction" aux joints à la base du squelette
Quaternionf rotationQuat = Quaternionf::RotationBetween(Vector3f::UnitX(), Vector3f::Forward()) *
Quaternionf::RotationBetween(Vector3f::UnitZ(), Vector3f::Up());
Quaternionf::RotationBetween(Vector3f::UnitZ(), Vector3f::Up());
String baseDir = stream.GetDirectory();

View File

@@ -194,6 +194,7 @@ namespace Nz
m_currentLine = m_stream.ReadLine();
m_currentLine = m_currentLine.SubStringTo("//"); // On ignore les commentaires
m_currentLine.Simplify(); // Pour un traitement plus simple
m_currentLine.Trim();
}
while (m_currentLine.IsEmpty());
}