You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I import a gltf file into three.js Editor, and when I export it ,I got this error
Uncaught TypeError: normal.clone is not a function
at createNormalizedNormalAttribute (GLTFExporter.js:297)
at processMesh (GLTFExporter.js:1240)
at processNode (GLTFExporter.js:1812)
at processNode (GLTFExporter.js:1860)
at processNode (GLTFExporter.js:1860)
at processScene (GLTFExporter.js:1921)
at processInput (GLTFExporter.js:1974)
at GLTFExporter.parse (GLTFExporter.js:2004)
at UIRow. (Menubar.File.js:272)
createNormalizedNormalAttribute @ GLTFExporter.js:297
processMesh @ GLTFExporter.js:1240
processNode @ GLTFExporter.js:1812
processNode @ GLTFExporter.js:1860
processNode @ GLTFExporter.js:1860
processScene @ GLTFExporter.js:1921
processInput @ GLTFExporter.js:1974
parse @ GLTFExporter.js:2004
(anonymous) @ Menubar.File.js:272
There is a related runtime error in the editor that happens because toJSON() is missing, too. Maybe we could reactivate #18537 and implement both methods via de-interleaving for now (as
a quick fix).
There is a related runtime error in the editor that happens because toJSON() is missing, too. Maybe we could reactivate #18537 and implement both methods via de-interleaving for now (as
a quick fix).
Sounds good. Better than crashing... We may want to add a console.log() thought so we don't forget.
Description of the problem
I import a gltf file into three.js Editor, and when I export it ,I got this error
And here is the file
https://github.com/zypy333/test1/blob/HEAD/2cen.gltf
Three.js version
Browser
OS
Hardware Requirements (graphics card, VR Device, ...)
no
The text was updated successfully, but these errors were encountered: