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:
spog
2006-06-24 17:17:33 +00:00
parent 1fd4f5bda7
commit 005e9e2db6
2 changed files with 2 additions and 3 deletions

View File

@@ -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;