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

Move the line of infinity loop checking in AnimationStateMachine #89575

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

TokageItLab
Copy link
Member

The checking for transition by At End is performed in _can_transition_to_next(). It is a normal termination that does not require a warning, so it should be performed prior to the infinite loop checking.

@TokageItLab TokageItLab added this to the 4.3 milestone Mar 16, 2024
@TokageItLab TokageItLab requested a review from a team as a code owner March 16, 2024 15:49
@TokageItLab TokageItLab changed the title Move the line of infinity loop checking in AnimationMachine Move the line of infinity loop checking in AnimationStateMachine Mar 16, 2024
@TokageItLab TokageItLab added cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release labels Mar 16, 2024
@dandeliondino
Copy link

Thanks for fixing it! The MRP I uploaded for #89730 incidentally triggers the spurious error from #82935, and I can confirm it is not reproducible when opened with the build artifact for this PR.

@MamaDespik
Copy link

crosses fingers

This warning ate up hours of my time as I tried to figure out what I was doing wrong. I don't know how to boost visibility of this pull request, but I very much want it to be merged.

@tracefree
Copy link
Contributor

I can confirm that this PR fixes the problem for me!

@akien-mga akien-mga merged commit f69fab5 into godotengine:master Apr 4, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@TokageItLab TokageItLab deleted the move-loop-check-state branch April 5, 2024 01:33
@akien-mga
Copy link
Member

Cherry-picked for 4.2.2.

@akien-mga
Copy link
Member

Cherry-picked for 4.1.4.

@akien-mga akien-mga removed cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants