Replace duplicated trim (#5613)

This commit is contained in:
Kim Kulling
2024-06-11 16:30:49 +02:00
committed by GitHub
parent e963a863ce
commit 75a10fedd0
3 changed files with 2 additions and 18 deletions

View File

@@ -577,7 +577,7 @@ void ObjFileParser::getMaterialDesc() {
// Get name
std::string strName(pStart, &(*m_DataIt));
strName = trim_whitespaces(strName);
strName = ai_trim(strName);
if (strName.empty()) {
skip = true;
}