You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user