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

[godot] The Preview Skin property of SpineSprite may override the skin set by code. #2530

Closed
misaki-eymard opened this issue May 20, 2024 · 0 comments

Comments

@misaki-eymard
Copy link
Collaborator

Description:
If you apply any skin to thePreview Skin property of a SpineSprite node in the Inspector dock, the skin may take precedence even if you apply another skin to that SpineSprite via the code.

Expected behavior:
If a skin is set by code, it always takes precedence over the preview skin.

Steps to reproduce:

  1. Open the example project with spine-godot 3.5.3 or 4.2.2.
  2. Open the 03-mix-and-match/mix-and-match.tscn scene.
  3. Play the scene without any changes to confirm that the skin appears correctly.
Screenshot 2024-05-20 at 11 13 05
  1. Set the default skin to the Preview Skin on the Inspector dock.

Preview-Skin-default

  1. Play the scene again, then you will see the skin is no longer displayed correctly.
Screenshot 2024-05-20 at 11 14 12

The version of runtime in which this issue was found:
spine-godot 3.5.3 and 4.2.2

This issue was reported on the following thread:
https://esotericsoftware.com/forum/d/26208-godot-spine-sprite%E8%8A%82%E7%82%B9%E7%96%91%E9%97%AE

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