You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Optimize enumeration of global classes in create dialog and autocomplete
This commit is contained in:
@@ -1446,7 +1446,7 @@ void ConnectionsDock::update_tree() {
|
||||
doc_class_name = String();
|
||||
}
|
||||
|
||||
class_icon = editor_data.get_script_icon(script_base);
|
||||
class_icon = editor_data.get_script_icon(script_base->get_path());
|
||||
if (class_icon.is_null() && has_theme_icon(native_base, EditorStringName(EditorIcons))) {
|
||||
class_icon = get_editor_theme_icon(native_base);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user