|
34 | 34 | #include "animation_blend_space_2d_editor.h" |
35 | 35 | #include "animation_blend_tree_editor_plugin.h" |
36 | 36 | #include "animation_state_machine_editor.h" |
37 | | -#include "core/config/project_settings.h" |
38 | | -#include "core/input/input.h" |
39 | | -#include "core/io/resource_loader.h" |
40 | | -#include "core/math/delaunay_2d.h" |
41 | | -#include "core/os/keyboard.h" |
42 | 37 | #include "editor/editor_command_palette.h" |
43 | 38 | #include "editor/editor_node.h" |
44 | 39 | #include "editor/gui/editor_bottom_panel.h" |
45 | | -#include "editor/gui/editor_file_dialog.h" |
46 | 40 | #include "editor/themes/editor_scale.h" |
47 | 41 | #include "scene/animation/animation_blend_tree.h" |
48 | | -#include "scene/animation/animation_player.h" |
49 | 42 | #include "scene/gui/button.h" |
50 | 43 | #include "scene/gui/margin_container.h" |
51 | | -#include "scene/gui/menu_button.h" |
52 | | -#include "scene/gui/panel.h" |
53 | 44 | #include "scene/gui/scroll_container.h" |
54 | 45 | #include "scene/gui/separator.h" |
55 | | -#include "scene/main/window.h" |
56 | 46 | #include "scene/scene_string_names.h" |
57 | 47 |
|
58 | 48 | void AnimationTreeEditor::edit(AnimationTree *p_tree) { |
@@ -115,6 +105,7 @@ void AnimationTreeEditor::_update_path() { |
115 | 105 | path_hb->add_child(b); |
116 | 106 | for (int i = 0; i < button_path.size(); i++) { |
117 | 107 | b = memnew(Button); |
| 108 | + b->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); |
118 | 109 | b->set_text(button_path[i]); |
119 | 110 | b->set_toggle_mode(true); |
120 | 111 | b->set_button_group(group); |
|
0 commit comments