Remove unused parameter.
This commit is contained in:
parent
dc8d59260c
commit
55e52b4e79
@ -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);
|
||||
|
||||
@ -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 ());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user