Miorey / wow-model-viewer

A library for displaying interactive 3D models of World of Warcraft characters, items, and NPCs on your website using data from Wowhead. Customize the display with control over camera angles and animation.
https://miorey.github.io/wow-model-viewer/
56 stars 32 forks source link

Method getListAnimations() raise TypeError #30

Closed Friskes closed 1 year ago

Friskes commented 1 year ago

When trying to call the method model.getListAnimations() an error appears in the browser console: Uncaught TypeError: Cannot read properties of null (reading 'map') at WowModelViewer.getListAnimations a little debug and I realized that this.renderer.models[0].ap array return null.