diff options
author | Bhupendra Aole <bhupendra.aole@gmail.com> | 2019-09-01 03:03:47 -0400 |
---|---|---|
committer | Bhupendra Aole <bhupendra.aole@gmail.com> | 2019-09-01 03:03:47 -0400 |
commit | f6952cb94463b7a58794de2d11cd07da12667c49 (patch) | |
tree | 47a1e1fbaddb3768cd539f6bd1f9b78f373bae05 | |
parent | 00aabec8bb598592b8a8702797b51fc9f6ca6169 (diff) |
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
-rw-r--r-- | editor/editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_plugin.cpp b/editor/editor_plugin.cpp index e27f1ab9eb..d9fd0659aa 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 { |