Support for file not found in ConfigFile::Load and handle a few specific cases
EditorSettings::set_project_metadata: creates project_metadata.cfg if it doesn't exist EditorPlugin::get_config: removed (not used) Fixes #31444
This commit is contained in:
parent
fb5e8b509b
commit
b49226e085
7 changed files with 23 additions and 20 deletions
|
|
@ -117,7 +117,6 @@ class EditorPlugin : public Node {
|
|||
bool force_draw_over_forwarding_enabled;
|
||||
|
||||
String last_main_screen_name;
|
||||
String _dir_cache;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
|
@ -236,10 +235,6 @@ public:
|
|||
void add_autoload_singleton(const String &p_name, const String &p_path);
|
||||
void remove_autoload_singleton(const String &p_name);
|
||||
|
||||
void set_dir_cache(const String &p_dir) { _dir_cache = p_dir; }
|
||||
String get_dir_cache() { return _dir_cache; }
|
||||
Ref<ConfigFile> get_config();
|
||||
|
||||
void enable_plugin();
|
||||
void disable_plugin();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue