summaryrefslogtreecommitdiff
path: root/core/config/project_settings.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-11-05 17:09:16 +0100
committerkobewi <kobewi4e@gmail.com>2023-01-19 13:02:18 +0100
commitc0083e431bb7bf66987f396cf9a62fa372d92fe9 (patch)
tree5fec252ab1c4b5f0f400ab78cd758ebe88213ebf /core/config/project_settings.cpp
parentcd0a9ccdfde05963d1b544b773662149f585da0d (diff)
Cleanup unused engine code v2
Diffstat (limited to 'core/config/project_settings.cpp')
-rw-r--r--core/config/project_settings.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp
index de27b6d5ac..ed89bc15d3 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -1069,23 +1069,6 @@ Variant _GLOBAL_DEF(const PropertyInfo &p_info, const Variant &p_default, bool p
return ret;
}
-Vector<String> ProjectSettings::get_optimizer_presets() const {
- List<PropertyInfo> pi;
- ProjectSettings::get_singleton()->get_property_list(&pi);
- Vector<String> names;
-
- for (const PropertyInfo &E : pi) {
- if (!E.name.begins_with("optimizer_presets/")) {
- continue;
- }
- names.push_back(E.name.get_slicec('/', 1));
- }
-
- names.sort();
-
- return names;
-}
-
void ProjectSettings::_add_property_info_bind(const Dictionary &p_info) {
ERR_FAIL_COND(!p_info.has("name"));
ERR_FAIL_COND(!p_info.has("type"));