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

Spine gui node is not rendered if size is zero in compiled binaries #112

Open
matgis opened this issue Dec 30, 2022 · 0 comments
Open

Spine gui node is not rendered if size is zero in compiled binaries #112

matgis opened this issue Dec 30, 2022 · 0 comments
Labels
bug Something isn't working gui

Comments

@matgis
Copy link
Contributor

matgis commented Dec 30, 2022

Describe the bug (REQUIRED)
If a Spine gui NodeDesc has a zero size (or size is not specified at all) in the compiled binaries for a gui scene the node will not render. If on the other hand the size is stored as any non-zero area (for example 1x1 pixels), the node will render with the actual size.

Unless size = [1 1 0 0] is written to the compiled binaries, the nodes will not render.

To Reproduce (REQUIRED)
Steps to reproduce the behavior:

  1. Create a gui with a Spine node.
  2. Modify the .gui file in a text editor and set the size of the Spine node to 0, or remove the size property altogether.
  3. Build and run the project using Bob.

Expected behavior (REQUIRED)
The size value should be ignored for Spine scenes, since they are auto-sized.

Defold version (REQUIRED):

  • Version 1.4.1

Platforms (REQUIRED):

  • Platforms: All
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gui
Projects
None yet
Development

No branches or pull requests

1 participant