I'm having a little issue with the LoadSaveAnimation.loadAnimation in maxscript and I'm not exactly sure how to solve it.
Here s the button code, its feeding itself from an other listbox in the script
on btn_loadAnim pressed do
deleteKeys objects #allKeys
LoadSaveAnimation.loadAnimation lbx_testAnim.selected objects relative:false insert:false insertTime:0
I know the code works because if I used the Animation>Load Animation... dialog and loaded something first, the buttons works after to load whatever animation I wish it to.
But, if I come from a fresh max (reset) then I can press the button all I want, it will never load the animation. Am I doing something wrong? It looks like a plugin that is not loaded.