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

Copy track update mode when adding reset key #85540

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Nov 30, 2023

When adding a reset key (by right-clicking a key in animation track), the value is copied over to RESET animation, but not the update mode, and always created continuous track. After AnimationMixer changes this can result in a warning spam if the update mode does not match.

This PR ensures that when creating a reset key from an existing animation track, the track's update mode is copied to the RESET track (even if it already existed).

@KoBeWi KoBeWi added this to the 4.3 milestone Nov 30, 2023
@akien-mga akien-mga added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Nov 30, 2023
@TokageItLab
Copy link
Member

TokageItLab commented Dec 30, 2023

InterpolationType and LoopWrap should be copied in the same way, since a warning is inevitable because of possible conflicts regarding interpolation for Radian. See also #86608.

@KoBeWi
Copy link
Member Author

KoBeWi commented Dec 30, 2023

InterpolationType and LoopWrap should be copied in the same way

Should I do it in this PR?

@TokageItLab
Copy link
Member

TokageItLab commented Dec 30, 2023

I think should be done if possible. If you don't do it, anyone just create a Follow up or PR later.

@akien-mga akien-mga merged commit 2f2ed95 into godotengine:master Jan 2, 2024
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 4.2.2.

@akien-mga akien-mga removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Mar 11, 2024
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.

3 participants