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

Force non-numeric ValueTrack to use Discrete with Dominant #88661

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Feb 22, 2024

Non-numeric value track needs to convert it to Discrete even if the AnimationMixer uses ForceContinuous.

To solve this correctly would require an implementation of godotengine/godot-proposals#8085, but it is a bit more complicated. For now, this PR only restores the behavior that #86629 broke.

@AThousandShips AThousandShips changed the title Force non-numeric ValueTrack use Discrete with Dominant Force non-numeric ValueTrack to use Discrete with Dominant Feb 22, 2024
@akien-mga
Copy link
Member

I confirm this fixes the eye-blinking regression I noticed in https://github.com/gdquest-demos/godot-4-3d-third-person-controller, where the animation to blink the eyes by swapping textures no longer worked.

This was the bug:
image

@akien-mga akien-mga merged commit 9c626b6 into godotengine:master Feb 22, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@TokageItLab TokageItLab deleted the fix-dominant-conv branch February 22, 2024 16:47
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.

Cannot change texture property of a Sprite2D Node using animation tracks in GDScript
2 participants