viniciusgerevini / godot-aseprite-wizard

Godot Editor plugin to help import Aseprite animations to AnimationPlayers, AnimatedSprites and SpriteFrames.
MIT License
893 stars 43 forks source link

Add inner padding config to AnimationPlayer options #46

Closed HanKruiger closed 2 years ago

HanKruiger commented 2 years ago

Opening this to replace #45. This adds the inner padding config ONLY to the AnimationPlayer import dock in the inspector. (It is not in the wizard in this PR.)

HanKruiger commented 2 years ago

I noticed that this configuration is buggy when using padding values > 1 with the AnimationPlayer import. I solved my problem for now by manually adding padding in the source files (.ase files).

I'll close this PR, as it is probably not the best way forward. Feel free to reopen if you think otherwise. Had fun diving in though!