texture-browser: removed check for textures/ prefix when loading textures from a directory
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@85 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -868,7 +868,7 @@ void TextureDirectory_loadTexture(const char* directory, const char* texture)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!texdef_name_valid(name.c_str()))
|
||||
if (!shader_valid(name.c_str()))
|
||||
{
|
||||
globalOutputStream() << "Skipping invalid texture name: [" << name.c_str() << "]\n";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user