You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
[Core] Add iteration support to Array
This commit is contained in:
@@ -1330,8 +1330,8 @@ void ProjectSettings::load_scene_groups_cache() {
|
||||
for (const String &E : scene_paths) {
|
||||
Array scene_groups = cf->get_value(E, "groups", Array());
|
||||
HashSet<StringName> cache;
|
||||
for (int i = 0; i < scene_groups.size(); ++i) {
|
||||
cache.insert(scene_groups[i]);
|
||||
for (const Variant &scene_group : scene_groups) {
|
||||
cache.insert(scene_group);
|
||||
}
|
||||
add_scene_groups_cache(E, cache);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user