You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've extended my own class, which extends "Node2D".
Now, in the create node menu, the icon from the "Node" class is displayed instead of the icon from the extended "Node2d"-class.
Here is a screenshot to show how it looks:
But after you create the node, the correct Icon is picked:
Regards
abgenullt
Steps to reproduce
Extend from a custom class and check the icon in the menu.
It looks like EditorNode::_get_class_or_script_icon only works when the inherited script has a builtin base type. It does not try to find the icon for a non-builtin base type.
Godot version
4.1.1
System information
Linux Mint, Godot 4.1.1
Issue description
Hi,
I've extended my own class, which extends "Node2D".
Now, in the create node menu, the icon from the "Node" class is displayed instead of the icon from the extended "Node2d"-class.
Here is a screenshot to show how it looks:
But after you create the node, the correct Icon is picked:
Regards
abgenullt
Steps to reproduce
Extend from a custom class and check the icon in the menu.
Minimal reproduction project
InheritTest.zip
The text was updated successfully, but these errors were encountered: