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

Replace Cubic to CubicInTime in the animation track interpolation type #64879

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Aug 25, 2022

Follow up #63602. I discussed this with @reduz in contributors chat. The old Cubic interpolation is probably not used by anyone in Animation, so it will be replaced by CubicInTime. However, the old Cubic interpolation still continue to be used in Curve and Gradation since it is low calc cost.

@TokageItLab TokageItLab force-pushed the cubic-to-cubicintime branch from ff95946 to d96cc74 Compare August 25, 2022 21:49
@@ -600,9 +600,6 @@
<constant name="INTERPOLATION_CUBIC" value="2" enum="InterpolationType">
Cubic interpolation.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this should mention it's with uniform time now?

Copy link
Member Author

@TokageItLab TokageItLab Aug 26, 2022

Choose a reason for hiding this comment

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

I think fixed times cubic interpolation is a more special case. In timelines, time is generally taken into account, so there is no need to mentions that it is unifrom time.

@akien-mga akien-mga merged commit 5bf2b39 into godotengine:master Aug 26, 2022
@akien-mga
Copy link
Member

Thanks!

@TokageItLab TokageItLab deleted the cubic-to-cubicintime branch September 16, 2022 21:01
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