trimming spaces around material names
This commit is contained in:
@@ -473,6 +473,7 @@ void ObjFileParser::getMaterialDesc()
|
||||
|
||||
// Get name
|
||||
std::string strName(pStart, &(*m_DataIt));
|
||||
strName = trim_whitespaces(strName);
|
||||
if (strName.empty())
|
||||
skip = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user