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

A way to edit/clear all slices from a file? #2283

Open
fenomas opened this issue Mar 4, 2020 · 2 comments
Open

A way to edit/clear all slices from a file? #2283

fenomas opened this issue Mar 4, 2020 · 2 comments
Labels

Comments

@fenomas
Copy link

fenomas commented Mar 4, 2020

Over the course of editing files, somehow I frequently wind up with a phantom slice in the upper left corner of the file. It cannot be selected or right-clicked with the slice tool. When I use --list-slices on the file, it exports as:

   { "name": "Slice", "color": "#0000ffff", "keys": [{ "frame": 0, "bounds": {"x": 0, "y": 0, "w": 0, "h": 0 } }] },

The problem is, slices like this break batch export. When I export with --split-slices, the affected files export no output at all.

Is there any way to work around this? The only way I've found is to manually reconstruct everything in a new file. Since there doesn't seem to be any way to copy/past frame labels, that means manually recreating hundreds of them.

Thanks..

Aseprite and System version

  • Aseprite version: Mac 1.2.16.3
@dacap dacap added the slices label Mar 5, 2020
@dacap
Copy link
Member

dacap commented Mar 5, 2020

Hi @AndyHall, thanks for all the bug reports. Actually a known-issue of slices is that they do not work in animations. Related to #721

The general idea is (for Aseprite v1.3) to show a row in the timeline for selected slices so we can copy/paste/delete keyframes.

About the deletion of slices that are not visible, check the list of slices in the context bar, where you can select one slice (or all slices pressing the "All" button) and then delete them with the delete button:

Screen Shot 2020-03-05 at 09 30 41

Screen Shot 2020-03-05 at 09 31 00

@fenomas
Copy link
Author

fenomas commented Mar 6, 2020

Hi, thanks for the info. The steps you suggest (e.g. pressing "All" and then "Delete") doesn't delete all the slices in the file in question, but it does appear to delete one slice (or slice/frame pair) at a time, so repeating those steps a bunch of times eventually removed the phantom slice. (Visually anyway, I didn't test exporting etc.)

Am I correct in assuming that there's no way to copy/paste frames such that the labels (tags) get pasted along with them? That was the really painful part of recreating the file, was manually recreating the label for each animation.

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

No branches or pull requests

2 participants