Browse Source

Merge pull request #4878 from MMory/f-FixWhitespaceBetweenTagAndNum

Fix #4877
Kim Kulling 2 years ago
parent
commit
67eae8ee5a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      code/AssetLib/Collada/ColladaParser.cpp

+ 1 - 0
code/AssetLib/Collada/ColladaParser.cpp

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