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

Add autocompletion to AnimationNode #86888

Merged
1 commit merged into from
Mar 24, 2024

Conversation

Mickeon
Copy link
Contributor

@Mickeon Mickeon commented Jan 6, 2024

Related to #86799 and #86884

This PR adds autocompletion to AnimationNode's find_input, get_parameter, set_parameter, set_filter_path, and is_path_filtered.
This is in the hopes that it makes working with animation nodes in code a little more tolerable, although I have a feeling this is quite niche.

Copy link
Member

@TokageItLab TokageItLab left a comment

Choose a reason for hiding this comment

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

The parameter in AnimationNode is an internal value, and so far I don't feel that we need this that much, since as I commented in #87171 (comment), the other parts of the extended AnimationNode are too inconvenient to make in GDScript.

Also, it might make sense to do this for filter_path, but it will probably soon make no sense to do so, as resourcing filter #76788 will take precedence.

scene/animation/animation_tree.cpp Show resolved Hide resolved
@Mickeon Mickeon force-pushed the autocompletion-AnimationNode branch from 7d8c8a4 to 3c371b9 Compare March 1, 2024 16:07
@Mickeon Mickeon requested a review from TokageItLab March 1, 2024 16:07
@Mickeon
Copy link
Contributor Author

Mickeon commented Mar 1, 2024

I updated the PR with the above suggestion. The above review may still stand, though. @TokageItLab would you look at this again?

@akien-mga akien-mga modified the milestones: 4.x, 4.3 Mar 16, 2024
akien-mga added a commit that referenced this pull request Mar 24, 2024
@akien-mga akien-mga closed this pull request by merging all changes into godotengine:master in 06abc86 Mar 24, 2024
@akien-mga
Copy link
Member

Thanks!

@Mickeon Mickeon deleted the autocompletion-AnimationNode branch June 6, 2024 12:30
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.

4 participants