20 EggFilter(
bool allow_last_param,
bool allow_stdout) :
25 _path_replace->_path_store = PS_relative;
28 if (allow_last_param) {
29 add_runline(
"[opts] input.egg output.egg");
31 add_runline(
"[opts] -o output.egg input.egg");
33 add_runline(
"[opts] input.egg >output.egg");
38 "Specify the coordinate system of the resulting egg file. This may be " 39 "one of 'y-up', 'z-up', 'y-up-left', or 'z-up-left'. The default " 40 "is the same coordinate system as the input egg file. If this is " 41 "different from the input egg file, a conversion will be performed.");
52 if (!check_last_arg(args, 1)) {
56 if (!_got_path_directory && _got_output_filename) {
58 _path_replace->_path_directory = _output_filename.get_dirname();
61 return EggReader::handle_args(args);
71 return EggWriter::post_command_line() && EggReader::post_command_line();
This is the base class for a program that generates an egg file output, but doesn't read any for inpu...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.