Fix rhino library location.

This commit is contained in:
kovacsv 2021-08-10 20:05:05 +02:00
parent ccabd30559
commit 24ee8635fc

View File

@ -14,7 +14,7 @@ OV.Exporter3dm = class extends OV.ExporterBase
ExportContent (model, format, files, onFinish) ExportContent (model, format, files, onFinish)
{ {
if (this.rhino === null) { if (this.rhino === null) {
OV.LoadExternalLibrary ('rhino3dm.min.js').then (() => { OV.LoadExternalLibrary ('loaders/rhino3dm.min.js').then (() => {
rhino3dm ().then ((rhino) => { rhino3dm ().then ((rhino) => {
this.rhino = rhino; this.rhino = rhino;
this.ExportRhinoContent (model, files, onFinish); this.ExportRhinoContent (model, files, onFinish);