mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
AnimationTree nodes sliders fixes
(cherry picked from commit 0fc4b04f51)
This commit is contained in:
parent
010a3433df
commit
17850b7b26
2 changed files with 7 additions and 2 deletions
|
|
@ -371,6 +371,7 @@ void AnimationTreeEditor::_popup_edit_dialog() {
|
|||
edit_label[0]->show();
|
||||
edit_scroll[0]->set_min(0);
|
||||
edit_scroll[0]->set_max(1);
|
||||
edit_scroll[0]->set_step(0.01);
|
||||
edit_scroll[0]->set_val(anim_tree->mix_node_get_amount(edited_node));
|
||||
edit_scroll[0]->set_begin(Point2(15, 25));
|
||||
edit_scroll[0]->show();
|
||||
|
|
@ -383,6 +384,7 @@ void AnimationTreeEditor::_popup_edit_dialog() {
|
|||
edit_label[0]->show();
|
||||
edit_scroll[0]->set_min(0);
|
||||
edit_scroll[0]->set_max(1);
|
||||
edit_scroll[0]->set_step(0.01);
|
||||
edit_scroll[0]->set_val(anim_tree->blend2_node_get_amount(edited_node));
|
||||
edit_scroll[0]->set_begin(Point2(15, 25));
|
||||
edit_scroll[0]->show();
|
||||
|
|
@ -398,6 +400,7 @@ void AnimationTreeEditor::_popup_edit_dialog() {
|
|||
edit_label[0]->show();
|
||||
edit_scroll[0]->set_min(-1);
|
||||
edit_scroll[0]->set_max(1);
|
||||
edit_scroll[0]->set_step(0.01);
|
||||
edit_scroll[0]->set_val(anim_tree->blend3_node_get_amount(edited_node));
|
||||
edit_scroll[0]->set_begin(Point2(15, 25));
|
||||
edit_scroll[0]->show();
|
||||
|
|
@ -411,6 +414,7 @@ void AnimationTreeEditor::_popup_edit_dialog() {
|
|||
edit_label[0]->show();
|
||||
edit_scroll[0]->set_min(0);
|
||||
edit_scroll[0]->set_max(1);
|
||||
edit_scroll[0]->set_step(0.01);
|
||||
edit_scroll[0]->set_val(anim_tree->blend4_node_get_amount(edited_node).x);
|
||||
edit_scroll[0]->set_begin(Point2(15, 25));
|
||||
edit_scroll[0]->show();
|
||||
|
|
@ -419,6 +423,7 @@ void AnimationTreeEditor::_popup_edit_dialog() {
|
|||
edit_label[1]->show();
|
||||
edit_scroll[1]->set_min(0);
|
||||
edit_scroll[1]->set_max(1);
|
||||
edit_scroll[1]->set_step(0.01);
|
||||
edit_scroll[1]->set_val(anim_tree->blend4_node_get_amount(edited_node).y);
|
||||
edit_scroll[1]->set_begin(Point2(15, 75));
|
||||
edit_scroll[1]->show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue