Browse Source

Fix: Smd Cannot read bone names containing spaces

wxyu 6 years ago
parent
commit
9100ca8664
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/SMDLoader.cpp

+ 1 - 1
code/SMDLoader.cpp

@@ -989,7 +989,7 @@ void SMDImporter::ParseNodeInfo(const char* szCurrent,
             ++szEnd;
             break;
         }
-        else if (IsSpaceOrNewLine(*szEnd))
+        else if (!bQuota && IsSpaceOrNewLine(*szEnd))
         {
             iBone = (unsigned int)(szEnd - szCurrent);
             break;