mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
more debug output
This commit is contained in:
parent
e6bb7ce91a
commit
97428d8d0b
@ -449,7 +449,7 @@ load_file(const Filename &filename, bool search) const {
|
|||||||
return NULL;
|
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);
|
const Filename &path = results.get_file(i);
|
||||||
LoaderFileType *type = results.get_file_type(i);
|
LoaderFileType *type = results.get_file_type(i);
|
||||||
PT(PandaNode) result = type->load_file(path, true);
|
PT(PandaNode) result = type->load_file(path, true);
|
||||||
@ -462,8 +462,8 @@ load_file(const Filename &filename, bool search) const {
|
|||||||
if (search) {
|
if (search) {
|
||||||
loader_cat.error()
|
loader_cat.error()
|
||||||
<< "Couldn't load file " << filename
|
<< "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 {
|
} else {
|
||||||
loader_cat.error()
|
loader_cat.error()
|
||||||
<< "Couldn't load file " << filename
|
<< "Couldn't load file " << filename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user