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 inherited icons for script classes #25676

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

willnationsdev
Copy link
Contributor

@willnationsdev willnationsdev commented Feb 7, 2019

This should close #24657. I added a loop that goes through the base classes in the script class and checks if any of them have icons, all the way up until there aren't any more scripts.

editor/editor_node.cpp Outdated Show resolved Hide resolved
@willnationsdev
Copy link
Contributor Author

Updated

@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.1.1.

@willnationsdev willnationsdev deleted the fix-inherited-icons branch May 16, 2020 03:35
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.

When a script extends from a class with a custom icon, the base class icon is used instead
3 participants