Fix: Smd Cannot read bone names containing spaces

pull/2249/head
wxyu 2018-11-30 10:02:01 +08:00
parent 19521d222b
commit 9100ca8664
1 changed files with 1 additions and 1 deletions

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;