Kaynağa Gözat

*** empty log message ***

David Rose 24 yıl önce
ebeveyn
işleme
a86fe3c039

+ 8 - 0
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

+ 8 - 0
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

+ 2 - 1
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";
   }
 

+ 9 - 0
panda/src/egg/eggTextureCollection.cxx

@@ -45,6 +45,15 @@ operator = (const EggTextureCollection &copy) {
   return *this;
 }
 
+////////////////////////////////////////////////////////////////////
+//     Function: EggTextureCollection::Destructor
+//       Access: Public
+//  Description: 
+////////////////////////////////////////////////////////////////////
+EggTextureCollection::
+~EggTextureCollection() {
+}
+
 ////////////////////////////////////////////////////////////////////
 //     Function: EggTextureCollection::clear
 //       Access: Public

+ 1 - 0
panda/src/egg/eggTextureCollection.h

@@ -46,6 +46,7 @@ public:
   EggTextureCollection();
   EggTextureCollection(const EggTextureCollection &copy);
   EggTextureCollection &operator = (const EggTextureCollection &copy);
+  ~EggTextureCollection();
 
   void clear();