mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Allow class_name scripts to have nested inheritance
This commit is contained in:
parent
a38bf5287a
commit
25f9aee005
9 changed files with 17 additions and 8 deletions
|
@ -3354,7 +3354,7 @@ Ref<Texture> EditorNode::get_class_icon(const String &p_class, const String &p_f
|
|||
icon = ResourceLoader::load(icon_path);
|
||||
}
|
||||
if (!icon.is_valid()) {
|
||||
icon = gui_base->get_icon(ScriptServer::get_global_class_base(p_class), "EditorIcons");
|
||||
icon = gui_base->get_icon(ScriptServer::get_global_class_native_base(p_class), "EditorIcons");
|
||||
}
|
||||
return icon;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue