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

Clipping attachment boundaries are not used as maximum boundary criteria when exporting. #789

Closed
misaki-eymard opened this issue Apr 17, 2024 · 1 comment

Comments

@misaki-eymard
Copy link

Description:
In Spine 4.1, if the entire skeleton was clipped by the Clipping attachment, the boundary of the clipping attachment was automatically recognized and exported as the maximum boundary for that animation. For example, here is the result of cropping Spineboy's jump animation with clipping attachment and exporting it in GIF format:
4-1-gif
*Crop was not checked in the export settings and exported with the automatically detected boundary.

However, in 4.2, the boundary set by clipping attachments is ignored and the size of the entire animation is recognized as the maximum boundary. Here is the result of reopening the Spine 4.1 project that exported the above GIF in 4.2 and exporting the jump animation again:
4-2-gif

Expected behavior:
If the entire skeleton is clipped with a clipping attachment, the boundary of the clipping attachment is automatically recognized as the boundary for image export, as worked in 4.1.

Steps to reproduce:

  1. Download the attached .zip file: Spineboy-4-1-with-ClippingAttachment.zip
  2. Open the Spine project in it using Spine 4.2.00.
  3. Export the jump animation in the GIF format.
  4. If you look at the exported GIF file, you will see that a large margin has been left at the top.

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

This issue was reported on the following thread:
https://esotericsoftware.com/forum/d/26002-some-problem-after-update-to-version-42-

@NathanSweet
Copy link
Member

NathanSweet commented Apr 17, 2024

4.2.01

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