From 6dad95b3100c0f8ee3adb6a77492b25644f4293e Mon Sep 17 00:00:00 2001 From: kovacsv Date: Fri, 6 Aug 2021 15:10:38 +0200 Subject: [PATCH] Add rhino exporter in the exporter constructor. --- source/export/exporter.js | 3 ++- website/o3dv/js/exportdialog.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/export/exporter.js b/source/export/exporter.js index 752f0e1..fb45e8c 100644 --- a/source/export/exporter.js +++ b/source/export/exporter.js @@ -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 () ]; } diff --git a/website/o3dv/js/exportdialog.js b/website/o3dv/js/exportdialog.js index f541e0c..b894581 100644 --- a/website/o3dv/js/exportdialog.js +++ b/website/o3dv/js/exportdialog.js @@ -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 ();