*** empty log message ***

This commit is contained in:
David Rose 2001-02-06 23:44:52 +00:00
parent 6589c8c31f
commit 8943a2bce4
2 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,7 @@
#include <appTraverser.h>
#include <collisionTraverser.h>
#include <get_config_path.h>
#include <allAttributesWrapper.h>
ConfigureDef(config_showbase);
ConfigureFn(config_showbase) {

View File

@ -121,6 +121,9 @@ make_user_filename(Filename filename) {
// caches the operation so that repeated calls to
// filenames in the same directory will tend to be
// faster.
//
// Also guarantees that the directory containing the
// filename exists by making it if it does not.
////////////////////////////////////////////////////////////////////
void FilenameUnifier::
make_canonical(Filename &filename) {
@ -137,6 +140,7 @@ make_canonical(Filename &filename) {
return;
}
filename.make_dir();
filename.make_canonical();
_canonical_filenames.insert(CanonicalFilenames::value_type(dirname, filename.get_dirname()));
}