Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needlessly generates offset anim tracks #11

Open
furroy opened this issue Nov 18, 2021 · 1 comment
Open

Needlessly generates offset anim tracks #11

furroy opened this issue Nov 18, 2021 · 1 comment

Comments

@furroy
Copy link

furroy commented Nov 18, 2021

From what I can tell if you aren't using borders, the offset x&y for every frame of every anim is 0. I put in a check so that if all offset keys are 0x0 for an anim, it calls animation.remove_track(tracks.offset.idx) at the end to delete the unneeded anim track.

@bfloch
Copy link

bfloch commented Mar 12, 2022

The offsets are necessary when the imported sprites are "packed" by using the "Trim Cels" option in Aseprite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants