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

Fixed AnimationNodeTransition's behavior when xfade time is zero #52543

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Sep 10, 2021

Fixed partly #52518.

When xfade time is 0, the animation should be changed immediately when the transition fires, but because the blend calculation in that case is wrong, it has been playing the animation which is before the transition. So I fixed it.

@TokageItLab TokageItLab requested a review from a team as a code owner September 10, 2021 17:30
@TokageItLab TokageItLab changed the title fixed AnimationNodeTransition when xfade time is zero Fixed AnimationNodeTransition's behavior when xfade time is zero Sep 10, 2021
@Calinou Calinou added bug cherrypick:3.3 cherrypick:3.x Considered for cherry-picking into a future 3.x release topic:animation labels Sep 10, 2021
@Calinou Calinou added this to the 4.0 milestone Sep 10, 2021
@akien-mga akien-mga merged commit d54635d into godotengine:master Sep 20, 2021
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Sep 20, 2021
@TokageItLab TokageItLab deleted the fixed-transition-when-xfade-time-is-zero branch September 16, 2022 21:02
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.

3 participants