Replace duplicated trim (#5613)
This commit is contained in:
@@ -343,7 +343,7 @@ void ObjFileMtlImporter::createMaterial() {
|
||||
}
|
||||
}
|
||||
|
||||
name = trim_whitespaces(name);
|
||||
name = ai_trim(name);
|
||||
|
||||
std::map<std::string, ObjFile::Material *>::iterator it = m_pModel->mMaterialMap.find(name);
|
||||
if (m_pModel->mMaterialMap.end() == it) {
|
||||
|
||||
Reference in New Issue
Block a user