diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-01 12:35:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 12:35:51 +0200 |
commit | 4e8ce420f127f273d7fcc46a260349b4868cd643 (patch) | |
tree | a29a2993f0e142a34e4af252e3bd44e02ff9ebd6 | |
parent | a02d2fdb84e08fe2ca87cc2343bb863cfce77280 (diff) | |
parent | f6952cb94463b7a58794de2d11cd07da12667c49 (diff) |
Merge pull request #31850 from aole/script-callback-enable-disable-EditorPlugin
Script callback for enabling/disabling EditorPlugin
-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 { |