You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Update all get_configuration_warning to retrieve warnings from the parent
This commit is contained in:
@@ -250,7 +250,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) {
|
||||
if (can_rename) { //should be can edit..
|
||||
|
||||
String warning = p_node->get_configuration_warning();
|
||||
if (warning != String()) {
|
||||
if (!warning.empty()) {
|
||||
item->add_button(0, get_theme_icon("NodeWarning", "EditorIcons"), BUTTON_WARNING, false, TTR("Node configuration warning:") + "\n" + p_node->get_configuration_warning());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user