summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBenjamin <mafortion.benjamin@gmail.com>2018-05-26 20:19:38 +0200
committerBenjamin <mafortion.benjamin@gmail.com>2018-07-03 18:08:41 +0200
commit4cd69e91fc096668e2000a06f6fc9ee673516cec (patch)
tree0e58c3f2ba0e2b5cd2dd33f9aaf34201223f091e /core
parent5885e1c6ddfaa90ad71ffab1923abaceeadee18d (diff)
downloadredot-engine-4cd69e91fc096668e2000a06f6fc9ee673516cec.tar.gz
Update resource file project settings on rename
Diffstat (limited to 'core')
-rw-r--r--core/project_settings.cpp4
-rw-r--r--core/project_settings.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/core/project_settings.cpp b/core/project_settings.cpp
index a7bfc8895b..7f9f4b638a 100644
--- a/core/project_settings.cpp
+++ b/core/project_settings.cpp
@@ -870,6 +870,10 @@ void ProjectSettings::set_custom_property_info(const String &p_prop, const Prope
custom_prop_info[p_prop].name = p_prop;
}
+const Map<StringName, PropertyInfo> &ProjectSettings::get_custom_property_info() const {
+ return custom_prop_info;
+}
+
void ProjectSettings::set_disable_feature_overrides(bool p_disable) {
disable_feature_overrides = p_disable;
diff --git a/core/project_settings.h b/core/project_settings.h
index b01e7855aa..66f3ed954e 100644
--- a/core/project_settings.h
+++ b/core/project_settings.h
@@ -137,6 +137,7 @@ public:
Error save_custom(const String &p_path = "", const CustomMap &p_custom = CustomMap(), const Vector<String> &p_custom_features = Vector<String>(), bool p_merge_with_current = true);
Error save();
void set_custom_property_info(const String &p_prop, const PropertyInfo &p_info);
+ const Map<StringName, PropertyInfo> &get_custom_property_info() const;
Vector<String> get_optimizer_presets() const;