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

Prevent to seek doubly on AnimationPlayerEditor #95405

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Aug 11, 2024

Perhaps the fix for updating the drawing (maybe #93980) caused a double seek.

As I commented in #94420, Discrete gets the value of the previous key during reverse playback. The second time of the double seek is always updated with a positive 0 value, so the key to be acquired changes immediately after the reverse playback, which is the cause of #95391.

Ideally, we would remove the method call for the second seek, but for now I fix this by preventing the seek to the same time on the editor.

@akien-mga akien-mga merged commit 47d0bdd into godotengine:master Aug 12, 2024
18 checks passed
@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.

AnimationPlayer flickering when scrubbing backwards on Discrete tracks
3 participants