mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Change import animation error to "animation nodes"
This commit is contained in:
parent
36b69e515c
commit
5042e077c2
@ -364,7 +364,7 @@ void AnimationNodeBlendSpace1DEditor::_file_opened(const String &p_file) {
|
||||
if (file_loaded.is_valid()) {
|
||||
_add_menu_type(MENU_LOAD_FILE_CONFIRM);
|
||||
} else {
|
||||
EditorNode::get_singleton()->show_warning(TTR("This type of node can't be used. Only root nodes are allowed."));
|
||||
EditorNode::get_singleton()->show_warning(TTR("This type of node can't be used. Only animation nodes are allowed."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -287,7 +287,7 @@ void AnimationNodeBlendSpace2DEditor::_file_opened(const String &p_file) {
|
||||
if (file_loaded.is_valid()) {
|
||||
_add_menu_type(MENU_LOAD_FILE_CONFIRM);
|
||||
} else {
|
||||
EditorNode::get_singleton()->show_warning(TTR("This type of node can't be used. Only root nodes are allowed."));
|
||||
EditorNode::get_singleton()->show_warning(TTR("This type of node can't be used. Only animation nodes are allowed."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -262,7 +262,7 @@ void AnimationNodeBlendTreeEditor::_file_opened(const String &p_file) {
|
||||
if (file_loaded.is_valid()) {
|
||||
_add_node(MENU_LOAD_FILE_CONFIRM);
|
||||
} else {
|
||||
EditorNode::get_singleton()->show_warning(TTR("This type of node can't be used. Only root nodes are allowed."));
|
||||
EditorNode::get_singleton()->show_warning(TTR("This type of node can't be used. Only animation nodes are allowed."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -393,7 +393,7 @@ void AnimationNodeStateMachineEditor::_file_opened(const String &p_file) {
|
||||
if (file_loaded.is_valid()) {
|
||||
_add_menu_type(MENU_LOAD_FILE_CONFIRM);
|
||||
} else {
|
||||
EditorNode::get_singleton()->show_warning(TTR("This type of node can't be used. Only root nodes are allowed."));
|
||||
EditorNode::get_singleton()->show_warning(TTR("This type of node can't be used. Only animation nodes are allowed."));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user