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 AnimationTrackCaches invalid when animation is added #93505

Merged

Conversation

TokageItLab
Copy link
Member

https://github.com/godotengine/godot/pull/86715/files#diff-8e8def668b2df75cec75f2dc07225717bdeebe58daad5fbf3fad3dfab101f64fL420 makes it so that the cache is not deleted more than necessary when playing back animations, but does nothing about the cache when animations are added, so the track cache is not generated for the added animations. In this case, it is not necessary to delete the cache, but it is necessary to trigger an update.

@TokageItLab TokageItLab added this to the 4.3 milestone Jun 23, 2024
@TokageItLab TokageItLab requested a review from lyuma June 23, 2024 09:20
@TokageItLab TokageItLab requested a review from a team as a code owner June 23, 2024 09:20
@TokageItLab TokageItLab changed the title Make AnimationTrackCaches disable when animation is added Make AnimationTrackCaches invalid when animation is added Jun 23, 2024
@TokageItLab TokageItLab force-pushed the disable-cache-when-adding-animation branch from d742b1a to e82ec1a Compare June 23, 2024 14:34
@akien-mga akien-mga merged commit 9de37ab into godotengine:master Jun 25, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@TokageItLab TokageItLab deleted the disable-cache-when-adding-animation branch June 29, 2024 11:45
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.

Animation panel plays newly loaded animations inconsistently
2 participants