diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-26 10:51:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 10:51:20 +0100 |
commit | a698fd1b46c748efcc116af3d48d0f5980822c66 (patch) | |
tree | a0477e9629974b108f3a663f00e526c81ad6e4a7 /editor/plugins | |
parent | 55f86e9b7b25e44e5fe7acd9e55d1e26c5a67e95 (diff) | |
parent | bfd5e098794ecb1f563b53e29f6981fda86381e9 (diff) |
Merge pull request #33908 from akien-mga/range-fix-max-errors
Range: Fix cases where max was set to or below min value
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/animation_blend_space_1d_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/animation_blend_space_1d_editor.cpp b/editor/plugins/animation_blend_space_1d_editor.cpp index e07f041eb1..475e4c8d67 100644 --- a/editor/plugins/animation_blend_space_1d_editor.cpp +++ b/editor/plugins/animation_blend_space_1d_editor.cpp @@ -702,13 +702,13 @@ AnimationNodeBlendSpace1DEditor::AnimationNodeBlendSpace1DEditor() { bottom_hb->set_h_size_flags(SIZE_EXPAND_FILL); min_value = memnew(SpinBox); - min_value->set_max(0); min_value->set_min(-10000); + min_value->set_max(0); min_value->set_step(0.01); max_value = memnew(SpinBox); - max_value->set_max(10000); max_value->set_min(0.01); + max_value->set_max(10000); max_value->set_step(0.01); label_value = memnew(LineEdit); |