瀏覽代碼

remove maya from ptloader

David Rose 22 年之前
父節點
當前提交
beab8aaf6b
共有 2 個文件被更改,包括 6 次插入1 次删除
  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
     m
 
 
   // If we've got Maya, link in the Maya libraries.
   // 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 \
   #define SOURCES \
     config_ptloader.cxx config_ptloader.h \
     config_ptloader.cxx config_ptloader.h \

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

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