Merge pull request #4878 from MMory/f-FixWhitespaceBetweenTagAndNum

Fix #4877
This commit is contained in:
Kim Kulling
2023-01-17 20:04:47 +01:00
committed by GitHub

View File

@@ -762,6 +762,7 @@ void ColladaParser::ReadControllerWeights(XmlNode &node, Collada::Controller &pC
if (text == nullptr) {
throw DeadlyImportError("Out of data while reading <vertex_weights>");
}
SkipSpacesAndLineEnd(&text);
it->first = strtoul10(text, &text);
SkipSpacesAndLineEnd(&text);
if (*text == 0) {