Utility/Formats: Fix MD5 loading
Former-commit-id: 05a4ee3745a6f5444a19c15f713fdd21d51a7804
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user