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

Fix animation player controls being enabled when no player is selected #92473

Merged

Conversation

passivestar
Copy link
Contributor

The _update_player() method has an early return that prevents the animation player from disabling controls when no player is selected, making all of the buttons clickable by default. This PR ensures that controls are updated before the early return

Before:

before.mp4

After:

after.mp4

@akien-mga akien-mga merged commit 6c7ca01 into godotengine:master May 29, 2024
15 checks passed
@passivestar passivestar deleted the animation-disabled-controls branch May 29, 2024 10:51
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

4 participants