mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Update obj export because new threejs version.
This commit is contained in:
parent
a591b8eebd
commit
a4dd8490eb
2 changed files with 26 additions and 6 deletions
|
|
@ -704,7 +704,7 @@ window.ThreeD = (function () {
|
|||
|
||||
return new Promise(resolve => {
|
||||
const script = document.createElement("script");
|
||||
script.src = "libs/objexporter.min.js";
|
||||
script.src = "libs/objexporter.min.js?v=1.89.35";
|
||||
document.head.append(script);
|
||||
script.onload = () => resolve(new THREE.OBJExporter());
|
||||
script.onerror = () => resolve(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue