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/plugins | |
parent | 10273e9de69a5ffe7eb18356b12b113d494a43cb (diff) | |
parent | 712a5aff1da8b890c46e45a032a3b659d4665c56 (diff) |
Merge pull request #37523 from 1abinitio1/master
Add option for editor freelook camera sensitivity
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index af34dd5cab..e0b0fe6b53 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -2166,7 +2166,7 @@ void Node3DEditorViewport::_nav_look(Ref<InputEventWithModifiers> p_event, const _menu_option(VIEW_PERSPECTIVE); } - real_t degrees_per_pixel = EditorSettings::get_singleton()->get("editors/3d/navigation_feel/orbit_sensitivity"); + real_t degrees_per_pixel = EditorSettings::get_singleton()->get("editors/3d/freelook/freelook_sensitivity"); real_t radians_per_pixel = Math::deg2rad(degrees_per_pixel); bool invert_y_axis = EditorSettings::get_singleton()->get("editors/3d/navigation/invert_y_axis"); |