kode-team / easylogic.studio

Fantastic Web Design Tool
https://editor.easylogic.studio
MIT License
497 stars 55 forks source link

Export animation don't works #69

Closed ghost closed 4 years ago

ghost commented 4 years ago

Error: this.artboard.getSelectedTimelineLastTime is not a function ERRo 2020-09-04 154613

ghost commented 4 years ago

Apparently he is trying to get the current Artboard timeline, but the timeline belongs to the project and not to Artboard

ghost commented 4 years ago

Solve changing

var js = AnimationExport.generate(artboard, 'anipa') to var js = AnimationExport.generate(project, 'anipa')

in ExportManager.js

ghost commented 4 years ago

But it doesn't make much sense for the timeline to be part of the project, it should belong to Artboard

easylogic commented 4 years ago

hi @danielmalencar

Thanks for your reporting.

I fixed it now.

please refresh to https://editor.easylogic.studio