diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-07-25 10:33:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-25 10:33:45 +0200 |
commit | 1481d299ea97fa1311a75a9ee39eb97d624a8619 (patch) | |
tree | c42928f05a4050fdb6d5eb8361469e423fd80e76 /editor/editor_node.cpp | |
parent | ffca740185d5e34dbb41af825aeb4d04407894e1 (diff) | |
parent | d844e306147689c3f02473b3dd5d592bdf141023 (diff) | |
download | redot-engine-1481d299ea97fa1311a75a9ee39eb97d624a8619.tar.gz |
Merge pull request #30776 from akien-mga/editor-configurable-float-step
Inspector: Make default float step configurable
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index f1944bf63f..5705629c56 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -5557,6 +5557,8 @@ EditorNode::EditorNode() { EDITOR_DEF_RST("interface/scene_tabs/restore_scenes_on_load", false); EDITOR_DEF_RST("interface/scene_tabs/show_thumbnail_on_hover", true); EDITOR_DEF_RST("interface/inspector/capitalize_properties", true); + EDITOR_DEF_RST("interface/inspector/default_float_step", 0.001); + EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::REAL, "interface/inspector/default_float_step", PROPERTY_HINT_EXP_RANGE, "0,1,0")); EDITOR_DEF_RST("interface/inspector/disable_folding", false); EDITOR_DEF_RST("interface/inspector/auto_unfold_foreign_scenes", true); EDITOR_DEF("interface/inspector/horizontal_vector2_editing", false); |