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:
@@ -755,8 +755,7 @@ void SceneImportSettingsDialog::open_settings(const String &p_path, const String
|
||||
config.instantiate();
|
||||
Error err = config->load(p_path + ".import");
|
||||
if (err == OK) {
|
||||
List<String> keys;
|
||||
config->get_section_keys("params", &keys);
|
||||
Vector<String> keys = config->get_section_keys("params");
|
||||
for (const String &E : keys) {
|
||||
Variant value = config->get_value("params", E);
|
||||
if (E == "_subresources") {
|
||||
|
||||
Reference in New Issue
Block a user