fernandojsg / aframe-gltf-exporter-component

A-Frame GLTF Exporter component
MIT License
13 stars 7 forks source link

Uncaught TypeError: Right-hand side of 'instanceof' is not an object #1

Open heisstobias opened 6 years ago

heisstobias commented 6 years ago

Hi im using the gltf-exporter component but it wont let me export my scene. I got the error in the title. and it says its in the .min.js file at the line with: else if (e instanceof THREE.LineLoop)

I used that line in my inline script tag in my html AFRAME.scenes[0].systems['gltf-exporter'].export();

gave the a-scene element the attribute gltf-exporter and included the <script src="https://unpkg.com/aframe-gltf-exporter-component/dist/aframe-gltf-exporter-component.min.js"></script> at the top of my file.

do I use the gltf-exporter in a wrong way? Could you help me with my issue?