Remove unused parameter.

This commit is contained in:
Viktor Kovacs 2021-03-28 09:13:48 +02:00
parent dc8d59260c
commit 55e52b4e79
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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 ());