Merge pull request #4878 from MMory/f-FixWhitespaceBetweenTagAndNum

Fix #4877
pull/4886/head
Kim Kulling 2023-01-17 20:04:47 +01:00 committed by GitHub
commit 67eae8ee5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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) {