mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix warning message when EditorPlugin script is not in tool mode.
(cherry picked from commit 0029440955)
This commit is contained in:
parent
fda4911b6e
commit
18f2b96186
1 changed files with 1 additions and 1 deletions
|
|
@ -2985,7 +2985,7 @@ void EditorNode::set_addon_plugin_enabled(const String &p_addon, bool p_enabled)
|
|||
}
|
||||
|
||||
if (!script->is_tool()) {
|
||||
show_warning("Unable to load addon script from path: '" + path + "' Script is does not support tool mode.");
|
||||
show_warning("Unable to load addon script from path: '" + path + "' Script is not in tool mode.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue