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

Slot order is incorrect after changing the draw order in animate mode #791

Closed
misaki-eymard opened this issue May 6, 2024 · 1 comment
Closed

Comments

@misaki-eymard
Copy link

Description:
If the drawing order is changed while multiple slots are selected in animate mode, the slot order is incorrect. For example, suppose the slots are lined up as shown in the following image:
Screenshot 2024-05-06 at 12 49 47
Select slot1 and slot2 and move over slot3.
move-slots
After the move, the order of slot1 and slot2 will be swapped, as shown below:
Screenshot 2024-05-06 at 12 52 58

Expected behavior:
The order does not change among the selected slots. In the example above, the order of slot2 up and slot1 down should be maintained after the move.
Screenshot 2024-05-06 at 12 53 27

Steps to reproduce:

  1. Open the spineboy-pro.spine via the Examples section on the welcome screen.
  2. Switch to the animate mode.
  3. Select the muzzle-ring and the muzzle-ring2 slots under the Draw order section in the tree view.
  4. Drag and drop them to over the muzzle-ring4 slot. Then, you can see the muzzle-ring slot is on top and the muzzle-ring2 slot is below it.

The version of Spine in which this bug was found:
Spine 4.2.19

This issue was reported on the following thread:
https://esotericsoftware.com/forum/d/26117-modify-layer-order-default-order-error

@NathanSweet
Copy link
Member

I don't remember which change fixed this, but I don't see it happening in 4.2.21.

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

No branches or pull requests

2 participants