more debug output

This commit is contained in:
Dave Schuyler 2005-07-06 02:22:27 +00:00
parent e6bb7ce91a
commit 97428d8d0b

View File

@ -449,7 +449,7 @@ load_file(const Filename &filename, bool search) const {
return NULL;
}
for (int i = 0; i < num_files; i++) {
for (int i = 0; i < num_files; ++i) {
const Filename &path = results.get_file(i);
LoaderFileType *type = results.get_file_type(i);
PT(PandaNode) result = type->load_file(path, true);
@ -462,8 +462,8 @@ load_file(const Filename &filename, bool search) const {
if (search) {
loader_cat.error()
<< "Couldn't load file " << filename
<< ": all matching files on model path invalid.\n";
<< ": all matching files on model path invalid "
<< "(the model path is currently: \"" << get_model_path() << "\")\n";
} else {
loader_cat.error()
<< "Couldn't load file " << filename