From a86fe3c039c763f65981c8987e1024d596f23bbf Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 9 May 2001 15:27:13 +0000 Subject: [PATCH] *** empty log message *** --- dtool/pptempl/Template.gmsvc.pp | 8 ++++++++ dtool/pptempl/Template.msvc.pp | 8 ++++++++ dtool/src/dtoolutil/filename.cxx | 3 ++- panda/src/egg/eggTextureCollection.cxx | 9 +++++++++ panda/src/egg/eggTextureCollection.h | 1 + 5 files changed, 28 insertions(+), 1 deletion(-) diff --git a/dtool/pptempl/Template.gmsvc.pp b/dtool/pptempl/Template.gmsvc.pp index abb9a78648..6e4286e650 100644 --- a/dtool/pptempl/Template.gmsvc.pp +++ b/dtool/pptempl/Template.gmsvc.pp @@ -920,5 +920,13 @@ $[install_headers_dir]/$[CONFIG_HEADER] : $[CONFIG_HEADER] #sinclude $[TOPDIRPREFIX]LocalSetup.gmsvc.pp #sinclude $[TOPDIRPREFIX]LocalSetup.pp + + +////////////////////////////////////////////////////////////////////// +#elif $[or $[eq $[DIR_TYPE], models],$[eq $[DIR_TYPE], models_toplevel],$[eq $[DIR_TYPE], models_group]] +////////////////////////////////////////////////////////////////////// + +#include $[THISDIRPREFIX]Template.models.pp + ////////////////////////////////////////////////////////////////////// #endif // DIR_TYPE diff --git a/dtool/pptempl/Template.msvc.pp b/dtool/pptempl/Template.msvc.pp index 73e82535e4..15a3f01d64 100644 --- a/dtool/pptempl/Template.msvc.pp +++ b/dtool/pptempl/Template.msvc.pp @@ -891,5 +891,13 @@ $[install_headers_dir]\$[CONFIG_HEADER] : $[CONFIG_HEADER] #sinclude $[TOPDIRPREFIX]LocalSetup.msvc.pp #sinclude $[TOPDIRPREFIX]LocalSetup.pp + + +////////////////////////////////////////////////////////////////////// +#elif $[or $[eq $[DIR_TYPE], models],$[eq $[DIR_TYPE], models_toplevel],$[eq $[DIR_TYPE], models_group]] +////////////////////////////////////////////////////////////////////// + +#include $[THISDIRPREFIX]Template.models.pp + ////////////////////////////////////////////////////////////////////// #endif // DIR_TYPE diff --git a/dtool/src/dtoolutil/filename.cxx b/dtool/src/dtoolutil/filename.cxx index 89c3388714..ead18d0431 100644 --- a/dtool/src/dtoolutil/filename.cxx +++ b/dtool/src/dtoolutil/filename.cxx @@ -585,7 +585,8 @@ make_canonical() { } // Now restore the current working directory. - if (chdir(cwd.c_str()) < 0) { + string osdir = cwd.to_os_specific(); + if (chdir(osdir.c_str()) < 0) { cerr << "Error! Cannot change back to " << cwd << "\n"; } diff --git a/panda/src/egg/eggTextureCollection.cxx b/panda/src/egg/eggTextureCollection.cxx index 301b4e6c0f..1d73bde388 100644 --- a/panda/src/egg/eggTextureCollection.cxx +++ b/panda/src/egg/eggTextureCollection.cxx @@ -45,6 +45,15 @@ operator = (const EggTextureCollection ©) { return *this; } +//////////////////////////////////////////////////////////////////// +// Function: EggTextureCollection::Destructor +// Access: Public +// Description: +//////////////////////////////////////////////////////////////////// +EggTextureCollection:: +~EggTextureCollection() { +} + //////////////////////////////////////////////////////////////////// // Function: EggTextureCollection::clear // Access: Public diff --git a/panda/src/egg/eggTextureCollection.h b/panda/src/egg/eggTextureCollection.h index 08aa848e2c..2f13c17c57 100644 --- a/panda/src/egg/eggTextureCollection.h +++ b/panda/src/egg/eggTextureCollection.h @@ -46,6 +46,7 @@ public: EggTextureCollection(); EggTextureCollection(const EggTextureCollection ©); EggTextureCollection &operator = (const EggTextureCollection ©); + ~EggTextureCollection(); void clear();