You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Make the AnimationTree editor's path section more obvious
This commit is contained in:
@@ -90,8 +90,8 @@ void AnimationTreeEditor::_path_button_pressed(int p_path) {
|
||||
}
|
||||
|
||||
void AnimationTreeEditor::_update_path() {
|
||||
while (path_hb->get_child_count()) {
|
||||
memdelete(path_hb->get_child(0));
|
||||
while (path_hb->get_child_count() > 1) {
|
||||
memdelete(path_hb->get_child(1));
|
||||
}
|
||||
|
||||
Ref<ButtonGroup> group;
|
||||
@@ -251,6 +251,9 @@ AnimationTreeEditor::AnimationTreeEditor() {
|
||||
path_edit->set_enable_v_scroll(false);
|
||||
path_hb = memnew(HBoxContainer);
|
||||
path_edit->add_child(path_hb);
|
||||
path_hb->add_child(memnew(Label(TTR("Path:"))));
|
||||
|
||||
add_child(memnew(HSeparator));
|
||||
|
||||
current_root = 0;
|
||||
singleton = this;
|
||||
|
||||
Reference in New Issue
Block a user