summaryrefslogtreecommitdiffstats
path: root/editor/editor_properties_array_dict.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-09-28 10:39:50 +0200
committerGitHub <noreply@github.com>2018-09-28 10:39:50 +0200
commitd55491a7b8093bfadd257bd9df6a04f76e05d8ca (patch)
tree5cb4db9e5d16115a34a912d5852ca1112f755ad0 /editor/editor_properties_array_dict.cpp
parenta5017f925f32c0bf8730f50c08ffc8d4ec1b7794 (diff)
parent0e378290316aec817375047d5e675ae6d64cdf56 (diff)
downloadredot-engine-d55491a7b8093bfadd257bd9df6a04f76e05d8ca.tar.gz
Merge pull request #22407 from DualMatrix/step_int
Added step support when exporting integers.
Diffstat (limited to 'editor/editor_properties_array_dict.cpp')
-rw-r--r--editor/editor_properties_array_dict.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp
index 20c34e9092..4e638cb4ac 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;