This commit is contained in:
Kim Kulling
2021-03-09 21:08:28 +01:00
parent e09e4ab670
commit 6c89631581
32 changed files with 304 additions and 398 deletions

View File

@@ -693,7 +693,7 @@ void XFileParser::ParseDataObjectMaterial(Material *pMaterial) {
std::string matName;
readHeadOfDataObject(&matName);
if (matName.empty())
matName = std::string("material") + to_string(mLineNumber);
matName = std::string("material") + ai_to_string(mLineNumber);
pMaterial->mName = matName;
pMaterial->mIsReference = false;