Browse Source

add _pandatool.prc

David Rose 21 years ago
parent
commit
2cfcee5b5d
2 changed files with 16 additions and 1 deletions
  1. 8 1
      pandatool/src/configfiles/Sources.pp
  2. 8 0
      pandatool/src/configfiles/_pandatool.prc

+ 8 - 1
pandatool/src/configfiles/Sources.pp

@@ -1 +1,8 @@
-#define INSTALL_CONFIG pandatool.init
+
+#define INSTALL_CONFIG \
+  _pandatool.prc
+
+#if $[CTPROJS]
+  // These files only matter to ctattach users.
+  #define INSTALL_CONFIG $[INSTALL_CONFIG] pandatool.init
+#endif

+ 8 - 0
pandatool/src/configfiles/_pandatool.prc

@@ -0,0 +1,8 @@
+
+# Since we have compiled pandatool, it follows that the ptloader
+# module is available.  Request that it be loaded.  This module allows
+# direct loading of third-party model files like .flt, .mb, or .dxf
+# into Panda, for instance via the loadModel() call or on the pview
+# command line.
+
+load-file-type ptloader