diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-07-25 12:46:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-25 12:46:10 +0200 |
commit | f86176d20b75598de78f117c06f55ef193115fd6 (patch) | |
tree | b2622a614bfa98198efea2e985c3e5c431c8e886 /tools | |
parent | 29c1a6eb23d85acc3cf3ddff72a81ea418dc1cc0 (diff) | |
parent | 7dbdfe8dbd761631850db2e3476b74ae082fbe14 (diff) |
Merge pull request #5900 from bojidar-bg/fix-integer-ranges
Fix default ranges of the inspector, as well as Range.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/editor/property_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index 54d197f10d..26a49e92f0 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -3039,10 +3039,10 @@ void PropertyEditor::update_tree() { } else { if (p.type == Variant::REAL) { - item->set_range_config(1, -65536, 65535, 0.001); + item->set_range_config(1, -16777216, 16777216, 0.001); } else { - item->set_range_config(1, -65536, 65535, 1); + item->set_range_config(1, -2147483647, 2147483647, 1); } }; |