add -delod to egg2x
This commit is contained in:
parent
7604e28212
commit
0f610d72d2
|
|
@ -121,7 +121,7 @@ add_delod_options(double default_delod) {
|
|||
"Eliminate LOD's by choosing the level that would be appropriate for "
|
||||
"a camera at the indicated fixed distance from each LOD. "
|
||||
"Use -delod -1 to keep all the LOD's as they are. The default value "
|
||||
"is " + format_string(default_delod),
|
||||
"is " + format_string(default_delod) + ".",
|
||||
&EggReader::dispatch_double, NULL, &_delod);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
EggToX::
|
||||
EggToX() : EggToSomething("DirectX", ".x", true, false) {
|
||||
add_texture_options();
|
||||
add_delod_options(0.0);
|
||||
|
||||
set_program_description
|
||||
("This program reads an Egg file and outputs an equivalent, "
|
||||
|
|
@ -64,7 +65,7 @@ run() {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (!copy_textures()) {
|
||||
if (!do_reader_options()) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue