removed useless code

Found while reviewing #3880
This commit is contained in:
Krishty
2021-07-28 16:44:46 +02:00
parent fc22d6cdae
commit 738c31c3ea
2 changed files with 1 additions and 7 deletions

View File

@@ -667,9 +667,7 @@ void XFileImporter::ConvertMaterials( aiScene* pScene, std::vector<XFile::Materi
// convert to lower case for easier comparison
for ( unsigned int c = 0; c < sz.length(); ++c ) {
if ( isalpha( (unsigned char) sz[ c ] ) ) {
sz[ c ] = (char) tolower( (unsigned char) sz[ c ] );
}
sz[ c ] = (char) tolower( (unsigned char) sz[ c ] );
}
// Place texture filename property under the corresponding name