closes https://github.com/assimp/assimp/issues/3678: ensure lowercase
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user