summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-25 12:46:10 +0200
committerGitHub <noreply@github.com>2016-07-25 12:46:10 +0200
commitf86176d20b75598de78f117c06f55ef193115fd6 (patch)
treeb2622a614bfa98198efea2e985c3e5c431c8e886 /tools
parent29c1a6eb23d85acc3cf3ddff72a81ea418dc1cc0 (diff)
parent7dbdfe8dbd761631850db2e3476b74ae082fbe14 (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.cpp4
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);
}
};