Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Set the Asset Store's default sorting to highest scored

Michael Alexsander07ab13f08aa6
diff --git a/editor/asset_library/asset_library_editor_plugin.cpp b/editor/asset_library/asset_library_editor_plugin.cpp
index e92d25509b1..c678082a47b 100644
--- a/editor/asset_library/asset_library_editor_plugin.cpp
+++ b/editor/asset_library/asset_library_editor_plugin.cpp
@@ -2188,6 +2188,9 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
sort->add_item(sort_text[i]);
}
+ // TODO: Remove this once "Relevance" sorting is fixed.
+ sort->select(SORT_REVIEWS);
+
search_hb2->add_child(sort);
sort->set_h_size_flags(Control::SIZE_EXPAND_FILL);