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

Make seeking animation playback track consider internal seeking #90960

Merged

Conversation

TokageItLab
Copy link
Member

Also, this fixes a problem where playback from the middle of an AnimationPlaybackTrack was not being played that has not worked since 4.0. However, this is not guaranteed to work with AnimationTree, to accomplish that, we need to more rework as I have said some times. For now, it is expected that this PR will make the behavior of AnimationPlaybackTrack the same as in 3.x.

To backport to 4.1 or earlier, a slightly different modification would be required. So this PR code is valid until 4.2.

@TokageItLab TokageItLab added bug regression topic:animation cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Apr 20, 2024
@TokageItLab TokageItLab added this to the 4.3 milestone Apr 20, 2024
@TokageItLab TokageItLab requested a review from a team as a code owner April 20, 2024 20:09
@TokageItLab TokageItLab force-pushed the fix-animation-playback-track-seek branch from ebad103 to a0f923e Compare April 21, 2024 16:00
@TokageItLab TokageItLab requested review from fire and lyuma April 30, 2024 06:49
Copy link
Member

@fire fire left a comment

Choose a reason for hiding this comment

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

I don't know about how internal seeking works to review, need some test cases and a video.

However, it does seem useful to approve.

scene/animation/animation_mixer.cpp Outdated Show resolved Hide resolved
@TokageItLab TokageItLab force-pushed the fix-animation-playback-track-seek branch from 6e44230 to b346e2a Compare April 30, 2024 21:39
@akien-mga akien-mga merged commit f89de7a into godotengine:master May 1, 2024
16 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
Labels
bug cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release regression topic:animation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AnimationPlaybackTracks no longer functioning as intended
4 participants