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

Fixed #42149: bug where the default C# script template would sometimes produce an invalid class name #44515

Merged
merged 1 commit into from
Dec 27, 2020

Conversation

eddsanity
Copy link
Contributor

Fixes #42149, where mono would produce invalid class names by not discarding the space's in the object's name.

I simply replace all the spaces with an underscore in the mono code responsible for producing the C# Script template.

@eddsanity
Copy link
Contributor Author

Can you review the PR? @akien-mga

@akien-mga akien-mga merged commit 4425f7c into godotengine:master Dec 27, 2020
@akien-mga
Copy link
Member

akien-mga commented Dec 27, 2020

Thanks! And congrats for your first merged Godot contribution 🎉

@eddsanity
Copy link
Contributor Author

@akien-mga thanks a lot! My first merged open source contribution ever, actually hahaha

@akien-mga
Copy link
Member

akien-mga commented Dec 29, 2020

Kudos to you! Hopefully the first of many!

@akien-mga
Copy link
Member

Cherry-picked for 3.2.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Dec 29, 2020
@rick551a
Copy link

rick551a commented Jan 7, 2021

Thanks! just checked this ones progress now.

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.

Default C# script naming system can cause invalid class name
4 participants