Introduced parameter class ExporterInput

This commit is contained in:
Daniel Wolf
2017-08-15 21:52:08 +02:00
parent 4de8f3d18e
commit d705a0c0ee
8 changed files with 37 additions and 19 deletions

View File

@@ -184,7 +184,8 @@ int main(int platformArgc, char *platformArgv[]) {
outputFile = boost::in_place(outputFileName.getValue());
outputFile->exceptions(std::ifstream::failbit | std::ifstream::badbit);
}
exporter->exportAnimation(inputFilePath, animation, targetShapeSet, outputFile ? *outputFile : std::cout);
ExporterInput exporterInput = ExporterInput(inputFilePath, animation, targetShapeSet);
exporter->exportAnimation(exporterInput, outputFile ? *outputFile : std::cout);
logging::info("Exiting application normally.");
} catch (...) {