mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
This commit is contained in:
parent
931820d33c
commit
b8e44a0000
20 changed files with 58 additions and 105 deletions
|
|
@ -1391,8 +1391,7 @@ void ProjectSettings::load_scene_groups_cache() {
|
|||
Ref<ConfigFile> cf;
|
||||
cf.instantiate();
|
||||
if (cf->load(get_scene_groups_cache_path()) == OK) {
|
||||
List<String> scene_paths;
|
||||
cf->get_sections(&scene_paths);
|
||||
Vector<String> scene_paths = cf->get_sections();
|
||||
for (const String &E : scene_paths) {
|
||||
Array scene_groups = cf->get_value(E, "groups", Array());
|
||||
HashSet<StringName> cache;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue