1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Merge pull request #113420 from Calinou/editor-use-unicode-arrows

Use Unicode arrow symbols throughout the editor
This commit is contained in:
Rémi Verschelde
2025-12-02 14:17:28 +01:00
8 changed files with 16 additions and 16 deletions

View File

@@ -367,7 +367,7 @@ void AnimationLibraryEditor::_load_files(const PackedStringArray &p_paths) {
show_error_diag = true;
const Ref<PackedScene> scene = res;
if (scene.is_valid()) {
error_dialog->set_text(TTR("The file you selected is an imported scene from a 3D model such as glTF or FBX.\n\nIn Godot, 3D models can be imported as either scenes or animation libraries, which is why they show up here.\n\nIf you want to use animations from this 3D model, open the Advanced Import Settings\ndialog and save the animations using Actions... -> Set Animation Save Paths,\nor import the whole scene as a single AnimationLibrary in the Import dock."));
error_dialog->set_text(TTR(U"The file you selected is an imported scene from a 3D model such as glTF or FBX.\n\nIn Godot, 3D models can be imported as either scenes or animation libraries, which is why they show up here.\n\nIf you want to use animations from this 3D model, open the Advanced Import Settings\ndialog and save the animations using Actions... Set Animation Save Paths,\nor import the whole scene as a single AnimationLibrary in the Import dock."));
} else {
error_dialog->set_text(TTR("The file you selected is not a valid AnimationLibrary.\n\nIf the animations you want are inside of this file, save them to a separate file first."));
}

View File

@@ -758,7 +758,7 @@ void AnimationNodeStateMachineEditor::_state_machine_gui_input(const Ref<InputEv
if (closest_for_tooltip >= 0) {
String from = transition_lines[closest_for_tooltip].from_node;
String to = transition_lines[closest_for_tooltip].to_node;
String tooltip = from + " -> " + to;
String tooltip = from + U" " + to;
state_machine_draw->set_tooltip_text(tooltip);
} else {
state_machine_draw->set_tooltip_text("");
@@ -2236,7 +2236,7 @@ bool EditorAnimationMultiTransitionEdit::_get(const StringName &p_name, Variant
StringName prop = String(p_name).get_slicec('/', 1);
if (prop == "transition_path") {
r_property = String(transitions[index].from) + " -> " + transitions[index].to;
r_property = String(transitions[index].from) + U" " + transitions[index].to;
return true;
}