1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Merge pull request #58510 from raulsntos/sort-visualscript-variables

This commit is contained in:
Rémi Verschelde
2022-02-25 09:46:36 +01:00
committed by GitHub

View File

@@ -1102,6 +1102,7 @@ void VisualScriptEditor::_update_members() {
List<StringName> var_names;
script->get_variable_list(&var_names);
var_names.sort_custom<StringName::AlphCompare>();
for (const StringName &E : var_names) {
TreeItem *ti = members->create_item(variables);