Browse Source

remove maya from ptloader

David Rose 22 years ago
parent
commit
beab8aaf6b
2 changed files with 6 additions and 1 deletions
  1. 2 1
      pandatool/src/ptloader/Sources.pp
  2. 4 0
      pandatool/src/ptloader/config_ptloader.cxx

+ 2 - 1
pandatool/src/ptloader/Sources.pp

@@ -12,7 +12,8 @@
     m
 
   // If we've got Maya, link in the Maya libraries.
-  #define USE_PACKAGES maya
+  // On second thought, don't.  It takes forever to load.
+  //#define USE_PACKAGES maya
 
   #define SOURCES \
     config_ptloader.cxx config_ptloader.h \

+ 4 - 0
pandatool/src/ptloader/config_ptloader.cxx

@@ -31,10 +31,12 @@
 #endif
 */
 
+/*
 #ifdef HAVE_MAYA
 #include "config_mayaegg.h"
 #include "mayaToEggConverter.h"
 #endif
+*/
 
 #include "dconfig.h"
 #include "loaderFileTypeRegistry.h"
@@ -82,9 +84,11 @@ init_libptloader() {
 #endif
   */
 
+  /*
 #ifdef HAVE_MAYA
   init_libmayaegg();
   MayaToEggConverter *maya = new MayaToEggConverter;
   reg->register_type(new LoaderFileTypePandatool(maya));
 #endif
+  */
 }