mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
don't write egg file until we've finished generating it
This commit is contained in:
parent
ddeea51453
commit
402b679d1e
@ -91,9 +91,12 @@ run() {
|
|||||||
mayaegg_cat->set_severity(NS_info);
|
mayaegg_cat->set_severity(NS_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Let's open the output file before we initialize Maya, since Maya
|
// Let's convert the output file to a full path before we initialize
|
||||||
// now has a nasty habit of changing the current directory.
|
// Maya, since Maya now has a nasty habit of changing the current
|
||||||
get_output();
|
// directory.
|
||||||
|
if (_got_output_filename) {
|
||||||
|
_output_filename.make_absolute();
|
||||||
|
}
|
||||||
|
|
||||||
nout << "Initializing Maya.\n";
|
nout << "Initializing Maya.\n";
|
||||||
MayaToEggConverter converter(_program_name);
|
MayaToEggConverter converter(_program_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user