diff options
| author | DualMatrix <piet.goris@gmail.com> | 2018-09-24 18:26:39 +0200 |
|---|---|---|
| committer | DualMatrix <piet.goris@gmail.com> | 2018-09-24 18:26:39 +0200 |
| commit | 0e378290316aec817375047d5e675ae6d64cdf56 (patch) | |
| tree | 913102c260283e0846e4c438bf04b8ea41f9f8c4 /editor/editor_properties_array_dict.cpp | |
| parent | c432ce4ee15fc396b2bccbbe2661b5bd34b9bee1 (diff) | |
| download | redot-engine-0e378290316aec817375047d5e675ae6d64cdf56.tar.gz | |
Added step support when exporting integers.
Added step support when exporting integers.
This wasn't possible before and was kinda unclear see #21441
Diffstat (limited to 'editor/editor_properties_array_dict.cpp')
| -rw-r--r-- | editor/editor_properties_array_dict.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index 808a8ac2f8..e512093496 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -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; |
