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
While calling STLExporter.parse the following uncaught exception is raised:
Uncaught TypeError: Cannot read properties of undefined (reading 'triangles')
at STLExporter.js:65:1
at Mesh.traverse (three.module.js:6983:1)
at STLExporter.parse (STLExporter.js:55:1)
at Object.save (SceneSetup.tsx:118:1)
three
version: 0.132.2@types/three
version: 0.132.2three-stdlib
version: 2.10.2Problem description:
While calling
STLExporter.parse
the following uncaught exception is raised:Suggested solution:
The callback in https://github.com/pmndrs/three-stdlib/blob/main/src/exporters/STLExporter.ts#L55 should be an arrow function, so that
this
is correctly binded in https://github.com/pmndrs/three-stdlib/blob/main/src/exporters/STLExporter.ts#L66The text was updated successfully, but these errors were encountered: