Closed misaki-eymard closed 4 months ago
The problem occurs even without the folder, when the slots are all dropped above the top slot.
The problem appears to occur only when all the slots are moved, which wasn't possible before adding folders. Our algorithm for smartly adjusting the draw order stored in animations fails in that case.
Fixed in 4.2.21.
Description: If slots whose draw order changes during animation are moved to an existing folder, the animation of the draw order change may be incorrect.
Expected behavior: The animation of changing the drawing order remains in its original state even if the slots are moved to an existing folder.
Steps to reproduce:
04_plant-green
is changed to the second from the top during the animation:Folder
folder:04_plant-green
slot, which should be the second from the top, is now topmost:Workaround: This bug only occurs if the folder is created before the slots are moved, so it does not occur if a folder is created with the slots selected and the selected slots are moved to the new folder.
The version of Spine in which this bug was found: Spine 4.2.20
This issue was reported on the following thread: https://esotericsoftware.com/forum/d/26156-%E8%A1%A8%E7%A4%BA%E9%A0%86%E3%81%A8%E3%82%B3%E3%83%B3%E3%82%B9%E3%83%88%E3%83%AC%E3%82%A4%E3%83%B3%E3%83%88%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6--problems-with-drawing-order-and-constrained-folders/4