1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Dictionary::get_key_list use LocalVector instead of List.

This commit is contained in:
Yufeng Ying
2025-03-14 03:04:25 +08:00
parent 4248411baf
commit f7e4987d0e
13 changed files with 33 additions and 44 deletions

View File

@@ -2199,8 +2199,7 @@ void VisualShaderEditor::_update_nodes() {
}
}
List<Variant> keys;
added.get_key_list(&keys);
LocalVector<Variant> keys = added.get_key_list();
keys.sort_custom<StringLikeVariantOrder>();
for (const Variant &key : keys) {