included searched paths in debug output

This commit is contained in:
Dave Schuyler 2004-08-07 01:20:23 +00:00
parent a6c33c23a7
commit 0550b1ec52

View File

@ -449,11 +449,11 @@ load_file(const Filename &filename, bool search) const {
if (search) {
loader_cat.error()
<< "Couldn't load file " << filename << ": not found on model path.\n";
<< "Couldn't load file " << filename << ": not found on model path "
<< "(which is currently: \"" << get_model_path() << "\")\n";
} else {
loader_cat.error()
<< "Couldn't load file " << filename << ": does not exist.\n";
<< "Couldn't load file ./" << filename << ": does not exist.\n";
}
return NULL;
}