Merge pull request #22407 from DualMatrix/step_int

Added step support when exporting integers.
This commit is contained in:
Rémi Verschelde
2018-09-28 10:39:50 +02:00
committed by GitHub
3 changed files with 12 additions and 7 deletions

View File

@ -337,7 +337,7 @@ void EditorPropertyArray::update_property() {
} break;
case Variant::INT: {
EditorPropertyInteger *editor = memnew(EditorPropertyInteger);
editor->setup(-100000, 100000, true, true);
editor->setup(-100000, 100000, 1, true, true);
prop = editor;
} break;
@ -800,7 +800,7 @@ void EditorPropertyDictionary::update_property() {
} break;
case Variant::INT: {
EditorPropertyInteger *editor = memnew(EditorPropertyInteger);
editor->setup(-100000, 100000, true, true);
editor->setup(-100000, 100000, 1, true, true);
prop = editor;
} break;