diff options
| author | George Marques <george@gmarqu.es> | 2019-03-09 00:47:27 -0300 |
|---|---|---|
| committer | George Marques <george@gmarqu.es> | 2019-03-09 00:47:27 -0300 |
| commit | 25f9aee00565996eae4c1cd011c9573a7e37922c (patch) | |
| tree | 8bc4c7ecfec8e0df37f1a387dd3c329d443bd7bb /editor/editor_node.cpp | |
| parent | a38bf5287a02238581359b548aef3170cd577a5f (diff) | |
| download | redot-engine-25f9aee00565996eae4c1cd011c9573a7e37922c.tar.gz | |
Allow class_name scripts to have nested inheritance
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index f0c9e87b76..1e03adc219 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -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; } |
