|
@@ -60,6 +60,14 @@ SomethingToEgg(const string &format_name,
|
|
|
"which should be self-contained and include only relative pathnames.",
|
|
"which should be self-contained and include only relative pathnames.",
|
|
|
&SomethingToEgg::dispatch_none, &_noabs);
|
|
&SomethingToEgg::dispatch_none, &_noabs);
|
|
|
|
|
|
|
|
|
|
+ add_option
|
|
|
|
|
+ ("noexist", "", 0,
|
|
|
|
|
+ "Don't treat it as an error if the input file references pathnames "
|
|
|
|
|
+ "(e.g. textures) that don't exist. Normally, this will be flagged as "
|
|
|
|
|
+ "an error and the command aborted; with this option, an egg file will "
|
|
|
|
|
+ "be generated anyway, referencing pathnames that do not exist.",
|
|
|
|
|
+ &SomethingToEgg::dispatch_none, &_noexist);
|
|
|
|
|
+
|
|
|
add_option
|
|
add_option
|
|
|
("ignore", "", 0,
|
|
("ignore", "", 0,
|
|
|
"Ignore non-fatal errors and generate an egg file anyway.",
|
|
"Ignore non-fatal errors and generate an egg file anyway.",
|
|
@@ -209,7 +217,7 @@ apply_units_scale(EggData &data) {
|
|
|
void SomethingToEgg::
|
|
void SomethingToEgg::
|
|
|
apply_parameters(SomethingToEggConverter &converter) {
|
|
apply_parameters(SomethingToEggConverter &converter) {
|
|
|
_path_replace->_noabs = _noabs;
|
|
_path_replace->_noabs = _noabs;
|
|
|
- _path_replace->_exists = true;
|
|
|
|
|
|
|
+ _path_replace->_exists = !_noexist;
|
|
|
converter.set_path_replace(_path_replace);
|
|
converter.set_path_replace(_path_replace);
|
|
|
|
|
|
|
|
converter.set_animation_convert(_animation_convert);
|
|
converter.set_animation_convert(_animation_convert);
|