Remove duplicate WARN_PRINT macro.
This commit is contained in:
parent
5af3b4ca27
commit
f0db13502a
37 changed files with 64 additions and 69 deletions
|
|
@ -3042,7 +3042,7 @@ void EditorNode::set_addon_plugin_enabled(const String &p_addon, bool p_enabled,
|
|||
}
|
||||
ps->set("editor_plugins/enabled", enabled_plugins);
|
||||
ps->save();
|
||||
WARN_PRINTS("Addon '" + p_addon + "' failed to load. No directory found. Removing from enabled plugins.");
|
||||
WARN_PRINT("Addon '" + p_addon + "' failed to load. No directory found. Removing from enabled plugins.");
|
||||
return;
|
||||
}
|
||||
Error err = cf->load(addon_path);
|
||||
|
|
@ -3988,7 +3988,7 @@ void EditorNode::show_warning(const String &p_text, const String &p_title) {
|
|||
warning->set_title(p_title);
|
||||
warning->popup_centered_minsize();
|
||||
} else {
|
||||
WARN_PRINTS(p_title + " " + p_text);
|
||||
WARN_PRINT(p_title + " " + p_text);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue