From 7dbdfe8dbd761631850db2e3476b74ae082fbe14 Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Mon, 25 Jul 2016 12:07:02 +0300 Subject: [PATCH] Fix default ranges of the inspector Probably closes #3091 (Should apply to Variant::REAL and Variant::INT) --- tools/editor/property_editor.cpp | 4 ++-- 1 file 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); } };