Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
Update LDRAW Viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHubDragonFly authored Jan 10, 2025
1 parent afcdc19 commit 1660aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewers/templates/LDRAW Viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -1124,9 +1124,9 @@
if (ldraw_obj) {
await start_export();

if (!THREE.AMFExporter) await import( "../static/js/exporters/AMFExporter.js" );
const { AMFExporter } = await import( "../static/jsm/exporters/AMFExporter.min.js" );

let amf_exporter = new THREE.AMFExporter( manager );
let amf_exporter = new AMFExporter( manager );

let options = { filename: filename };

Expand Down

0 comments on commit 1660aee

Please sign in to comment.