You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
First Slice resets to first frame everytime aseprite is open #4062
First, I know Slices are not meant to be used with animation frames, but I find them really useful when setting hitboxes on the animation frames. I wish the support for slices on frames could be better, but I can still use it as it is, it's not terrible. Having said that, there is one small bug that's really annoying, I tried to debug it looking at the source code but could not understand what is happening.
Steps to reproduce the bug
Create a blank project and add multiple frames.
Create a Slice on one frame. (not the first frame)
Change to another frame (not the first frame) and select the slice, this can be repeated multiple times.
Export the spritesheet with slice data
As you an see, the JSON file has slices for all the frames where the slice was selected.
Save the project, close aseprite and open the project again
If you export the spritesheet again, all the slice data will be the same, except for the first one, where it default to frame 0.
To illustrate the problem better, this is how a normal json file will display the slices on the JSON
Activity
respect slice keys frame number on ase file format (fix aseprite#4062)
respect slice keys frame number on ase file format (fix aseprite#4062)
respect slice keys frame number on ase file format (fix aseprite#4062)
respect slice keys frame number on ase file format (fix aseprite#4062)
respect slice keys frame number on ase file format (fix aseprite#4062)
respect slice keys frame number on ase file format (fix aseprite#4062)
respect slice keys frame number on ase file format (fix aseprite#4062)
respect slice keys frame number on ase file format (fix #4062)