You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Use Unicode arrow symbols throughout the editor
This does not apply to text printed to the Output panel, as the fixed-width font may not have the glyph in its character set (or if it does, the arrow character may be hard to read).
This commit is contained in:
@@ -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."));
|
||||
}
|
||||
|
||||
@@ -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("");
|
||||
@@ -2222,7 +2222,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user