Add rhino exporter in the exporter constructor.

This commit is contained in:
kovacsv 2021-08-06 15:10:38 +02:00
parent 131b5c6cec
commit 6dad95b310
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,8 @@ OV.Exporter = class
new OV.ExporterStl (),
new OV.ExporterPly (),
new OV.ExporterOff (),
new OV.ExporterGltf ()
new OV.ExporterGltf (),
new OV.Exporter3dm ()
];
}

View File

@ -161,7 +161,6 @@ OV.ExportDialog = class
progressDialog.Show ();
OV.RunTaskAsync (() => {
let exporter = new OV.Exporter ();
exporter.AddExporter (new OV.Exporter3dm ());
exporter.Export (model, selectedFormat.format, selectedFormat.extension, {
onError : () => {
progressDialog.Hide ();