Add rhino exporter in the exporter constructor.
This commit is contained in:
parent
131b5c6cec
commit
6dad95b310
@ -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 ()
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@ -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 ();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user