mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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) {
|
if (search) {
|
||||||
loader_cat.error()
|
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 {
|
} else {
|
||||||
loader_cat.error()
|
loader_cat.error()
|
||||||
<< "Couldn't load file " << filename << ": does not exist.\n";
|
<< "Couldn't load file ./" << filename << ": does not exist.\n";
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user