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

Rename Vector4.components -> coords. #1609

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

Ivorforce
Copy link
Contributor

@Ivorforce Ivorforce commented Sep 26, 2024

Follow-up of godotengine/godot#97487 (review)
Fixes #1608

As mentioned, a discussion could be had about just removing the 'components' alias, but I think there's no harm just using deprecations as is usually done.

@Ivorforce Ivorforce requested a review from a team as a code owner September 26, 2024 13:05
@AThousandShips
Copy link
Member

Should be made in the same PR, ether we add compatibility or we don't, it should be decided and done in one PR

@Ivorforce
Copy link
Contributor Author

Ivorforce commented Sep 26, 2024

Yes, in the current state of the PR the 'components' union case is retained, with a deprecation note.

@AThousandShips AThousandShips added the enhancement This is an enhancement on the current functionality label Sep 26, 2024
@Ivorforce
Copy link
Contributor Author

Parent PR is merged, so we're good to go.

Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks :-)

@dsnopek
Copy link
Collaborator

dsnopek commented Oct 30, 2024

I was about to merge this and then realized it's 2 commits. This'll need to be squashed to a single commit before it can merged.

The use of .components is deprecated.
@Ivorforce
Copy link
Contributor Author

Ok, fixed.

@dsnopek
Copy link
Collaborator

dsnopek commented Oct 30, 2024

Thanks!

@dsnopek dsnopek merged commit 259c757 into godotengine:master Oct 30, 2024
12 checks passed
@Ivorforce Ivorforce deleted the patch-3 branch October 30, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick:4.2 cherrypick:4.3 enhancement This is an enhancement on the current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants