From 2cfcee5b5d175b7eb8f2fb63c7102f7e95f28096 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 10 Jun 2004 19:06:45 +0000 Subject: [PATCH] add _pandatool.prc --- pandatool/src/configfiles/Sources.pp | 9 ++++++++- pandatool/src/configfiles/_pandatool.prc | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 pandatool/src/configfiles/_pandatool.prc diff --git a/pandatool/src/configfiles/Sources.pp b/pandatool/src/configfiles/Sources.pp index 15d83f710b..894e1bfdd3 100644 --- a/pandatool/src/configfiles/Sources.pp +++ b/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 diff --git a/pandatool/src/configfiles/_pandatool.prc b/pandatool/src/configfiles/_pandatool.prc new file mode 100644 index 0000000000..720967f68e --- /dev/null +++ b/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