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