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

Atlas packing wrong when two mesh attachments map to a single input image #483

Closed
HaraldCsaszar opened this issue Aug 6, 2019 · 2 comments
Assignees
Labels

Comments

@HaraldCsaszar
Copy link
Collaborator

HaraldCsaszar commented Aug 6, 2019

As reported in this email:
FMfcgxwDqTkCzQbTXMlvpvsZlDKGcxfg

[Edit:] Also reported by a different user on this forum thread:
http://esotericsoftware.com/forum/Only-first-attachment-will-be-exported-12435

Reproduction asset included in the first email as zip package.

Context:
When taking a look at the input image at Bugged Slingshot/images/Slingshot_idle_Top.png (the only colored one in the image set), it contains the complete V part of the slingshot.
In the Spine project, the mesh attachments Slingshot_TopFar2 and Slingshot_TopNear2 map to only the left or right half.

Reproduction Steps:

  1. Open the included Spine project in the package.
  2. Export the skeleton with setting Texture Atlas Pack enabled, and packing type Attachments, Texture Packer settings Packing set to Rectangles or Polygons.
  3. Take a look at the generated png atlas file, a half slingshot is included in the atlas page, but only one half - the second half is missing.

Polygonal packing:
texture-packer-slingshot-polygon

Rectangular Packing:
texture-packer-slingshot-rectangle

@HaraldCsaszar
Copy link
Collaborator Author

A different user also reported the same problem on this forum thread:
http://esotericsoftware.com/forum/Only-first-attachment-will-be-exported-12435

@NathanSweet
Copy link
Member

3.8.61

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

No branches or pull requests

2 participants