Animated-Java / animated-java

A Blockbench plugin that makes complex animation a breeze in Minecraft: Java Edition.
Other
159 stars 26 forks source link

[BUG] Graph Editor is broken and leads to errors in console #196

Closed MrMakistein closed 3 months ago

MrMakistein commented 3 months ago

Describe the bug The graph editor does not appear to work. When you click the button in the animation tab to enable it, nothing happens and an error appears in the console. To doublecheck that this is not a blockbench issue I also created a random generic model where the graph editor works as usual, so I'm assuming this has something to do with AJ.

To Reproduce

  1. Create random model & random animation
  2. Enable the graph editor view.
  3. Observe errors in console and the graph view not showing up.
  4. Attempt to move the timeline slider.
  5. Observer more errors in the console.

Expected behavior The graph view of the animation should open up when clicking the button

Screenshots Video-demonstration: https://gyazo.com/2d0175c93ce17a79f820d1822f271183

Error Message vue.min.js:11 TypeError: val.toFixed is not a function at Cr.trimFloatNumber (math_util.js:105:19) at eval (eval at sc (vue.min.js:11:104811), :3:10466) at Cr.ne [as _l] (vue.min.js:11:12780) at Cr.eval (eval at sc (vue.min.js:11:104811), :3:10053) at t._render (vue.min.js:11:45499) at Cr.r (vue.min.js:11:79396) at t.get (vue.min.js:11:27998) at t.run (vue.min.js:11:28731) at Ye (vue.min.js:11:18719) at Array. (vue.min.js:11:23024) vn @ vue.min.js:11 pn @ vue.min.js:11 fn @ vue.min.js:11 t._render @ vue.min.js:11 r @ vue.min.js:11 t.get @ vue.min.js:11 t.run @ vue.min.js:11 Ye @ vue.min.js:11 (anonymous) @ vue.min.js:11 _n @ vue.min.js:11 Promise.then (async) hn @ vue.min.js:11 Cn @ vue.min.js:11 Qe @ vue.min.js:11 t.update @ vue.min.js:11 t.notify @ vue.min.js:11 set @ vue.min.js:11 Jn.Kn.set @ vue.min.js:11 click @ VM301:3 dn @ vue.min.js:11 r @ vue.min.js:11 i._wrapper @ vue.min.js:11 vue.min.js:11 TypeError: val.toFixed is not a function at Cr.trimFloatNumber (math_util.js:105:19) at eval (eval at sc (vue.min.js:11:104811), :3:10466) at Cr.ne [as _l] (vue.min.js:11:12780) at Cr.eval (eval at sc (vue.min.js:11:104811), :3:10053) at t._render (vue.min.js:11:45499) at Cr.r (vue.min.js:11:79396) at t.get (vue.min.js:11:27998) at t.run (vue.min.js:11:28731) at Ye (vue.min.js:11:18719) at Array. (vue.min.js:11:23024) vn @ vue.min.js:11 pn @ vue.min.js:11 fn @ vue.min.js:11 t._render @ vue.min.js:11 r @ vue.min.js:11 t.get @ vue.min.js:11 t.run @ vue.min.js:11 Ye @ vue.min.js:11 (anonymous) @ vue.min.js:11 _n @ vue.min.js:11 Promise.then (async) hn @ vue.min.js:11 Cn @ vue.min.js:11 Qe @ vue.min.js:11 t.update @ vue.min.js:11 t.notify @ vue.min.js:11 set @ vue.min.js:11 Jn.Kn.set @ vue.min.js:11 click @ VM301:3 dn @ vue.min.js:11 r @ vue.min.js:11 i._wrapper @ vue.min.js:11

Desktop: