This commit is contained in:
Garux
2021-12-23 17:23:57 +03:00
parent 5398cde0db
commit ea21eee225
2 changed files with 4 additions and 4 deletions

View File

@@ -238,9 +238,9 @@ private:
aiReturn_SUCCESS == material->Get( AI_MATKEY_TEXTURE_DIFFUSE(0), texname )
&& texname.length != 0
&& !string_equal_prefix_nocase( matname.C_Str(), "textures/" ) /* matname looks intentionally named as ingame shader */
&& !string_equal_prefix_nocase( matname.C_Str(), "textures\"" )
&& !string_equal_prefix_nocase( matname.C_Str(), "textures\\" )
&& !string_equal_prefix_nocase( matname.C_Str(), "models/" )
&& !string_equal_prefix_nocase( matname.C_Str(), "models\"" ) ){
&& !string_equal_prefix_nocase( matname.C_Str(), "models\\" ) ){
#ifdef _DEBUG
globalOutputStream() << "texname: " << texname.C_Str() << "\n";
#endif