From 5042e077c27759c5a1fe3199d7cb876ec45fed2f Mon Sep 17 00:00:00 2001 From: kingoftheconnors Date: Sun, 7 Aug 2022 17:32:59 -0400 Subject: [PATCH] Change import animation error to "animation nodes" --- editor/plugins/animation_blend_space_1d_editor.cpp | 2 +- editor/plugins/animation_blend_space_2d_editor.cpp | 2 +- editor/plugins/animation_blend_tree_editor_plugin.cpp | 2 +- editor/plugins/animation_state_machine_editor.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/editor/plugins/animation_blend_space_1d_editor.cpp b/editor/plugins/animation_blend_space_1d_editor.cpp index 0ce1f970e8a..108fd59cac3 100644 --- a/editor/plugins/animation_blend_space_1d_editor.cpp +++ b/editor/plugins/animation_blend_space_1d_editor.cpp @@ -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.")); } } diff --git a/editor/plugins/animation_blend_space_2d_editor.cpp b/editor/plugins/animation_blend_space_2d_editor.cpp index 2d62878907c..dccc8118c9e 100644 --- a/editor/plugins/animation_blend_space_2d_editor.cpp +++ b/editor/plugins/animation_blend_space_2d_editor.cpp @@ -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.")); } } diff --git a/editor/plugins/animation_blend_tree_editor_plugin.cpp b/editor/plugins/animation_blend_tree_editor_plugin.cpp index f5e1788bb78..a93bff2f344 100644 --- a/editor/plugins/animation_blend_tree_editor_plugin.cpp +++ b/editor/plugins/animation_blend_tree_editor_plugin.cpp @@ -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.")); } } diff --git a/editor/plugins/animation_state_machine_editor.cpp b/editor/plugins/animation_state_machine_editor.cpp index 14468a81eb5..1c8cb18fe4f 100644 --- a/editor/plugins/animation_state_machine_editor.cpp +++ b/editor/plugins/animation_state_machine_editor.cpp @@ -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.")); } }