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

Check the seeking if it is processed immediately after playback as a special case #85366

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

TokageItLab
Copy link
Member

#85221 solved the case right after the start by removing the flag. However, the old AnimationPlayer force retrieve current frame key when seeking immediate after start to playback as the special case, so make it match the behavior of the old AnimationPlayer.

@TokageItLab TokageItLab added this to the 4.2 milestone Nov 25, 2023
@TokageItLab TokageItLab requested a review from a team as a code owner November 25, 2023 22:25
@TokageItLab TokageItLab changed the title Check the seek process immediately after playback as a special case Check the seeking if it is processed immediately after playback as a special case Nov 25, 2023
@TokageItLab TokageItLab force-pushed the more-stable-seek-discrete branch from 849a8e0 to 4ce46fc Compare November 25, 2023 22:31
@TokageItLab TokageItLab force-pushed the more-stable-seek-discrete branch from 4ce46fc to c36200b Compare November 25, 2023 22:32
@TokageItLab TokageItLab requested a review from KoBeWi November 25, 2023 22:37
Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm it fixes my issue, but I didn't test anything else.

@TokageItLab
Copy link
Member Author

I have tested that it works at least for the project I fixed in #85221. I have also tested the project with some method tracks and it works, but I don't know about more advanced cases as I have not tested them.

@LakshayaG73
Copy link

I've tested this on my project and it fixes the issue (Y)

@akien-mga akien-mga merged commit b20ecc9 into godotengine:master Nov 27, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@TokageItLab TokageItLab deleted the more-stable-seek-discrete branch February 14, 2024 05:38
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.

Using advance() has no effect on Discrete animation tracks and stops playback
4 participants