From f6952cb94463b7a58794de2d11cd07da12667c49 Mon Sep 17 00:00:00 2001 From: Bhupendra Aole Date: Sun, 1 Sep 2019 03:03:47 -0400 Subject: [PATCH] Script callback for enabling/disabling EditorPlugin Parameter p_config_changes should be passed as true to enable callback to user scripts for enabling or disabling of the EditorPlugin. Fixes #30654 --- editor/editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_plugin.cpp b/editor/editor_plugin.cpp index e27f1ab9ebc..d9fd0659aaa 100644 --- a/editor/editor_plugin.cpp +++ b/editor/editor_plugin.cpp @@ -238,7 +238,7 @@ Control *EditorInterface::get_base_control() { } void EditorInterface::set_plugin_enabled(const String &p_plugin, bool p_enabled) { - EditorNode::get_singleton()->set_addon_plugin_enabled(p_plugin, p_enabled); + EditorNode::get_singleton()->set_addon_plugin_enabled(p_plugin, p_enabled, true); } bool EditorInterface::is_plugin_enabled(const String &p_plugin) const {