Hydra three.js integration needs updating (+workaround)
Opened this issue · 0 comments
crcdng commented
three.js has deprecated and removed their 'vanilla' JavaScript build in favour of ESM / Modules. Therefore in the Hydra -> external libraries -> three.js
example
await loadScript("https://threejs.org/build/three.js")
does not work anymore. A workaround is to load an older version of three.js < r160 from a CDN.
Example
await loadScript("https://cdn.jsdelivr.net/gh/mrdoob/three.js@r159/build/three.js")