diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-29 11:20:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 11:20:13 +0200 |
commit | a277c895563840c7732dfc70065e7aae296d2e11 (patch) | |
tree | eb1c1219145ecdabc6ebb093d798e5460a071276 /editor/editor_settings.cpp | |
parent | 10273e9de69a5ffe7eb18356b12b113d494a43cb (diff) | |
parent | 712a5aff1da8b890c46e45a032a3b659d4665c56 (diff) |
Merge pull request #37523 from 1abinitio1/master
Add option for editor freelook camera sensitivity
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r-- | editor/editor_settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 9b58c18f51..5e34913cf0 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -561,6 +561,8 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { // 3D: Freelook _initial_set("editors/3d/freelook/freelook_navigation_scheme", false); hints["editors/3d/freelook/freelook_navigation_scheme"] = PropertyInfo(Variant::INT, "editors/3d/freelook/freelook_navigation_scheme", PROPERTY_HINT_ENUM, "Default,Partially Axis-Locked (id Tech),Fully Axis-Locked (Minecraft)"); + _initial_set("editors/3d/freelook/freelook_sensitivity", 0.4); + hints["editors/3d/freelook/freelook_sensitivity"] = PropertyInfo(Variant::FLOAT, "editors/3d/freelook/freelook_sensitivity", PROPERTY_HINT_RANGE, "0.0, 2, 0.01"); _initial_set("editors/3d/freelook/freelook_inertia", 0.1); hints["editors/3d/freelook/freelook_inertia"] = PropertyInfo(Variant::FLOAT, "editors/3d/freelook/freelook_inertia", PROPERTY_HINT_RANGE, "0.0, 1, 0.01"); _initial_set("editors/3d/freelook/freelook_base_speed", 5.0); |