Fix unittests: skip newline at begin of matrix token.

This commit is contained in:
Kim Kulling
2021-02-03 20:54:48 +01:00
parent faf53b8e0f
commit e6b8ae44cb

View File

@@ -652,6 +652,7 @@ void ColladaParser::ReadController(XmlNode &node, Collada::Controller &controlle
XmlParser::getValueAsString(currentNode, v);
const char *content = v.c_str();
for (unsigned int a = 0; a < 16; a++) {
SkipSpacesAndLineEnd(&content);
// read a number
content = fast_atoreal_move<ai_real>(content, controller.mBindShapeMatrix[a]);
// skip whitespace after it