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:
Rémi Verschelde
2019-08-21 08:54:32 +02:00
committed by GitHub
7 changed files with 23 additions and 20 deletions
-1
View File
@@ -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);