Skip to content

Conversation

@geowarin
Copy link
Contributor

@geowarin geowarin commented Jul 5, 2023

On LookAt methods.
Also adds Vector3 Model constants.

These were not added after #76082 was merged.

Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

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

Thanks for contributing to the .NET module and helping keep it in sync with Core. This looks good already, just making a few comments about things that can be improved.

@geowarin
Copy link
Contributor Author

geowarin commented Jul 6, 2023

@raulsntos Thanks for your review. I did not know that adding optional parameters would break binary compatibility, but it makes sense that it does.

It wasn't clear from your comments if you wanted me to move the compat methods to the Compat class?
That's what I did, tell me if it's alright.

Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

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

It wasn't clear from your comments if you wanted me to move the compat methods to the Compat class?
That's what I did, tell me if it's alright.

Sorry about that. It's fine either way, we have never added compat methods for non-generated types before so we don't currently have previous precedent. Usually I keep overloads close to each other, so maybe keeping them in their respective types would be better.

@geowarin geowarin force-pushed the master branch 2 times, most recently from f96011e to 82c2afe Compare July 6, 2023 15:47
@geowarin
Copy link
Contributor Author

geowarin commented Jul 6, 2023

@raulsntos Gotcha! Should be good now 😄

Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

To LookAt methods.
Also adds Vector3 Model constants.

These were not added after godotengine#76082 was merged.
Copy link
Member

@aaronfranke aaronfranke 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

@geowarin
Copy link
Contributor Author

geowarin commented Jul 6, 2023

The build error seems unrelated to this change if I'm not mistaken.
What should I do?

@YuriSizov
Copy link
Contributor

YuriSizov commented Jul 17, 2023

Thanks!

Sorry for no reply earlier. You didn't need to do anything, we restarted the build and it has passed.

@geowarin
Copy link
Contributor Author

@YuriSizov Don't worry about it! I really appreciate your work. Thank you ❤️

@YuriSizov YuriSizov changed the title Add missing useModelFront parameter to GodotSharp Basis and Transform Add missing useModelFront parameter to GodotSharp Basis and Transform Jul 19, 2023
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.2.

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