mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
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
This commit is contained in:
parent
00aabec8bb
commit
f6952cb944
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user