Browse Source

egg-qtess should not make textures fullpaths

David Rose 21 years ago
parent
commit
d4d66d0ef7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pandatool/src/eggbase/eggFilter.cxx

+ 4 - 0
pandatool/src/eggbase/eggFilter.cxx

@@ -27,6 +27,10 @@ EggFilter::
 EggFilter(bool allow_last_param, bool allow_stdout) :
 EggFilter(bool allow_last_param, bool allow_stdout) :
   EggWriter(allow_last_param, allow_stdout)
   EggWriter(allow_last_param, allow_stdout)
 {
 {
+  // The default path store for programs that read egg files and write
+  // them again is PS_relative.
+  _path_replace->_path_store = PS_relative;
+
   clear_runlines();
   clear_runlines();
   if (allow_last_param) {
   if (allow_last_param) {
     add_runline("[opts] input.egg output.egg");
     add_runline("[opts] input.egg output.egg");