Skip to content

Make default options of int value track refer to RESET animation#86630

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
TokageItLab:value-track-default-option
Jan 2, 2024
Merged

Make default options of int value track refer to RESET animation#86630
akien-mga merged 1 commit into
godotengine:masterfrom
TokageItLab:value-track-default-option

Conversation

@TokageItLab

@TokageItLab TokageItLab commented Dec 30, 2023

Copy link
Copy Markdown
Member

Make the default track options copy the RESET animation if it exists when keying the value/bezier track. Also, fix defaults for some new Variant types, supersedes/closes #62190.

I believe the default for Int should be Continuous + Nearest as I mentiond in godotengine/godot-proposals#8512, but it not will done in 4.x because it may cause confusing. In AnimationTree, the default is to force the conversion to Continuous internally by #86629, so I think it should be no problem.

The PR that copies an existing option to the RESET track as opposed to this PR is #85540.

Comment thread editor/animation_track_editor.cpp Outdated
@fire fire changed the title Make default options of int value track referes RESET animation Make default options of int value track refer to RESET animation Jan 1, 2024
@fire

fire commented Jan 1, 2024

Copy link
Copy Markdown
Member

The title of the commit can be Make default options of int value track referes RESET animation -> Make default options of int value track refer to RESET animation.

@TokageItLab TokageItLab force-pushed the value-track-default-option branch from cab26d2 to eecfe5d Compare January 2, 2024 04:13
@akien-mga akien-mga merged commit 4c0db77 into godotengine:master Jan 2, 2024
@akien-mga

Copy link
Copy Markdown
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.

5 participants