summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-26 08:05:00 +0100
committerGitHub <noreply@github.com>2020-11-26 08:05:00 +0100
commitcd6ee62b0c1a7f56794a2fa015caaa21ca439b0e (patch)
treeb253bcc32484dffc4055a84fab0180b6929f396d
parent4e212affbe1021e40f0c16a0552db4bda78bc647 (diff)
parent3528b29669869ceaf5e31105c64ce834707112e2 (diff)
Merge pull request #43880 from EricEzaM/PR/project-settings-remove-unused-property-and-method
Removed references to 'registering_order', as it was unused.
-rw-r--r--core/config/project_settings.cpp4
-rw-r--r--core/config/project_settings.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp
index aa954ed300..8b8aff3e9e 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -524,10 +524,6 @@ bool ProjectSettings::has_setting(String p_var) const {
return props.has(p_var);
}
-void ProjectSettings::set_registering_order(bool p_enable) {
- registering_order = p_enable;
-}
-
Error ProjectSettings::_load_settings_binary(const String &p_path) {
Error err;
FileAccess *f = FileAccess::open(p_path, FileAccess::READ, &err);
diff --git a/core/config/project_settings.h b/core/config/project_settings.h
index a8c9adc587..5a16248c76 100644
--- a/core/config/project_settings.h
+++ b/core/config/project_settings.h
@@ -76,7 +76,6 @@ protected:
}
};
- bool registering_order = true;
int last_order = NO_BUILTIN_ORDER_BASE;
int last_builtin_order = 0;
Map<StringName, VariantContainer> props;
@@ -160,8 +159,6 @@ public:
bool is_using_datapack() const;
- void set_registering_order(bool p_enable);
-
bool has_custom_feature(const String &p_feature) const;
Map<StringName, AutoloadInfo> get_autoload_list() const;