mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
included searched paths in debug output
This commit is contained in:
parent
a6c33c23a7
commit
0550b1ec52
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user