From 0550b1ec526a53c6e25f41d889a625f8e0332b91 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Sat, 7 Aug 2004 01:20:23 +0000 Subject: [PATCH] included searched paths in debug output --- panda/src/pgraph/loader.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/pgraph/loader.cxx b/panda/src/pgraph/loader.cxx index 3198688d69..b25fdae009 100644 --- a/panda/src/pgraph/loader.cxx +++ b/panda/src/pgraph/loader.cxx @@ -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; }