Merge pull request #22407 from DualMatrix/step_int
Added step support when exporting integers.
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user