pmndrs / gltfjsx

🎮 Turns GLTFs into JSX components
https://gltf.pmnd.rs
MIT License
4.7k stars 309 forks source link

refact: replace decodeText with TextDecoder #264

Open hducati opened 3 months ago

hducati commented 3 months ago

According to the new release of three.js (r165), the decodeText method will be deprecated in version r175. This PR updates all calls from decodeText() to TextEncoder().encode(..)

https://github.com/mrdoob/three.js/releases/tag/r165

PR: https://github.com/mrdoob/three.js/pull/28278