diff --git a/website/o3dv/dialogs.js b/website/o3dv/dialogs.js index 56af225..6dcc631 100644 --- a/website/o3dv/dialogs.js +++ b/website/o3dv/dialogs.js @@ -201,7 +201,7 @@ OV.ShowOpenUrlDialog = function (onOk) return dialog; }; -OV.ShowExportDialog = function (model, importer) +OV.ShowExportDialog = function (model) { if (model === null) { return OV.ShowMessageDialog ('Export Failed', 'Please load a model to export', null); diff --git a/website/o3dv/website.js b/website/o3dv/website.js index 873141b..c7631ef 100644 --- a/website/o3dv/website.js +++ b/website/o3dv/website.js @@ -265,7 +265,7 @@ OV.Website = class }); AddSeparator (this.toolbar, true); AddButton (this.toolbar, 'export', 'Export model', true, function () { - obj.dialog = OV.ShowExportDialog (obj.model, obj.modelLoader.GetImporter ()); + obj.dialog = OV.ShowExportDialog (obj.model); }); AddButton (this.toolbar, 'embed', 'Get embedding code', true, function () { obj.dialog = OV.ShowEmbeddingDialog (obj.modelLoader.GetImporter (), obj.viewer.GetCamera ());