Merge pull request #31499 from nekomatata/fix-new-project-metadata
Setting project metadata doesn't fail when project_metadata.cfg doesn't exist
This commit is contained in:
@@ -2954,7 +2954,6 @@ void EditorNode::set_addon_plugin_enabled(const String &p_addon, bool p_enabled,
|
||||
|
||||
EditorPlugin *ep = memnew(EditorPlugin);
|
||||
ep->set_script(script.get_ref_ptr());
|
||||
ep->set_dir_cache(p_addon);
|
||||
plugin_addons[p_addon] = ep;
|
||||
add_editor_plugin(ep, p_config_changed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user