Fix: Smd Cannot read bone names containing spaces

This commit is contained in:
wxyu
2018-11-30 10:02:01 +08:00
parent 19521d222b
commit 9100ca8664

View File

@@ -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;