summaryrefslogtreecommitdiffstats
path: root/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-08-17 15:54:40 +0200
committerGitHub <noreply@github.com>2020-08-17 15:54:40 +0200
commitba1109a3b3596d263182836c4f45cbffd12ac8f2 (patch)
tree294db561093fa18bfaef2540603fbc2332a1ad6c /editor/editor_settings.cpp
parent261f2c1e03a9da03135e4406705cb51d7b5a4f7c (diff)
parent2c9d4ef9610cbfd43488e97d3c02624d9236d59d (diff)
downloadredot-engine-ba1109a3b3596d263182836c4f45cbffd12ac8f2.tar.gz
Merge pull request #41280 from Calinou/editor-3d-add-invert-x-option
Add an editor setting to invert 3D pan/orbit on the X axis
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r--editor/editor_settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index f86b485dd1..7b24e6967a 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -543,6 +543,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
// 3D: Navigation
_initial_set("editors/3d/navigation/navigation_scheme", 0);
_initial_set("editors/3d/navigation/invert_y_axis", false);
+ _initial_set("editors/3d/navigation/invert_x_axis", false);
hints["editors/3d/navigation/navigation_scheme"] = PropertyInfo(Variant::INT, "editors/3d/navigation/navigation_scheme", PROPERTY_HINT_ENUM, "Godot,Maya,Modo");
_initial_set("editors/3d/navigation/zoom_style", 0);
hints["editors/3d/navigation/zoom_style"] = PropertyInfo(Variant::INT, "editors/3d/navigation/zoom_style", PROPERTY_HINT_ENUM, "Vertical, Horizontal");