summaryrefslogtreecommitdiffstats
path: root/o3d/converter/cross/converter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/converter/cross/converter.cc')
-rw-r--r--o3d/converter/cross/converter.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/o3d/converter/cross/converter.cc b/o3d/converter/cross/converter.cc
index 9abde79..ac1b16e 100644
--- a/o3d/converter/cross/converter.cc
+++ b/o3d/converter/cross/converter.cc
@@ -256,9 +256,7 @@ bool Convert(const FilePath& in_filename,
// the loading process.
AddBinaryElements(collada, &archive_generator);
- archive_generator.Finalize();
-
- file_util::CloseFile(out_file);
+ archive_generator.Close(true);
pack->Destroy();
if (error_messages) {