summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-01 12:35:51 +0200
committerGitHub <noreply@github.com>2019-09-01 12:35:51 +0200
commit4e8ce420f127f273d7fcc46a260349b4868cd643 (patch)
treea29a2993f0e142a34e4af252e3bd44e02ff9ebd6
parenta02d2fdb84e08fe2ca87cc2343bb863cfce77280 (diff)
parentf6952cb94463b7a58794de2d11cd07da12667c49 (diff)
Merge pull request #31850 from aole/script-callback-enable-disable-EditorPlugin
Script callback for enabling/disabling EditorPlugin
-rw-r--r--editor/editor_plugin.cpp2
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 {