Fixed file extension when using option --export-amf in command line

This commit is contained in:
Enrico Turri 2019-05-03 11:43:48 +02:00
parent 47f27d20f1
commit bf30ec439f

View file

@ -628,7 +628,7 @@ std::string CLI::output_filepath(const Model &model, IO::ExportFormat format) co
{
std::string ext;
switch (format) {
case IO::AMF: ext = ".amf"; break;
case IO::AMF: ext = ".zip.amf"; break;
case IO::OBJ: ext = ".obj"; break;
case IO::STL: ext = ".stl"; break;
case IO::TMF: ext = ".3mf"; break;