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

Fix "icon" parameter in EditorPlugin.add_custom_type is not optional but doc says it is #93777

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Fix "icon" parameter in EditorPlugin.add_custom_type is not optional but doc says it is #93777

merged 1 commit into from
Jul 1, 2024

Conversation

ashish0kumar
Copy link
Contributor

fixed an error in doc/classes/EditorPlugin.xml: "icon" parameter in EditorPlugin.add_custom_type is not optional, but documentation says it is.
Removed the line "An icon can be optionally passed." and added this "An editor error is generated when this function is called without the icon parameter."

@ashish0kumar ashish0kumar requested a review from a team as a code owner June 30, 2024 10:21
@Mickeon
Copy link
Contributor

Mickeon commented Jun 30, 2024

Good catch, although it really should be optional, I don't see why it isn't.

@Mickeon Mickeon added cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Jun 30, 2024
@Mickeon Mickeon added cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release and removed cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Jun 30, 2024
@AThousandShips
Copy link
Member

Please squash your commits into one, see here

… but docs says it is# This is a combination of 2 commits.

Fix "icon" parameter in EditorPlugin.add_custom_type is not optional, but docs says it is

Update doc/classes/EditorPlugin.xml

Co-authored-by: A Thousand Ships <[email protected]>
@AThousandShips AThousandShips modified the milestones: 4.x, 4.3 Jun 30, 2024
@akien-mga akien-mga merged commit af529cb into godotengine:master Jul 1, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release documentation enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants