Mesh: move Extension3MFFactory outside Exporter3MF

This commit is contained in:
wmayer
2022-09-26 11:05:01 +02:00
parent 84b9b02909
commit 849305b88a
3 changed files with 11 additions and 10 deletions

View File

@@ -269,7 +269,8 @@ private:
exporter.reset( new ExporterAMF(outputFileName, meta, exportAmfCompressed) );
}
else if (exportFormat == MeshIO::ThreeMF) {
exporter.reset( new Exporter3MF(outputFileName) );
Extension3MFFactory::initialize();
exporter.reset( new Exporter3MF(outputFileName, Extension3MFFactory::createExtensions()) );
}
else if (exportFormat != MeshIO::Undefined) {
exporter.reset( new MergeExporter(outputFileName, exportFormat) );