From 4cd69e91fc096668e2000a06f6fc9ee673516cec Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sat, 26 May 2018 20:19:38 +0200 Subject: Update resource file project settings on rename --- core/project_settings.cpp | 4 ++++ core/project_settings.h | 1 + 2 files changed, 5 insertions(+) (limited to 'core') 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 &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 &p_custom_features = Vector(), bool p_merge_with_current = true); Error save(); void set_custom_property_info(const String &p_prop, const PropertyInfo &p_info); + const Map &get_custom_property_info() const; Vector get_optimizer_presets() const; -- cgit v1.2.3