Merge pull request #120006 from syntaxerror247/joysticks

Disable navigation gizmo by default for Desktop platforms
This commit is contained in:
Thaddeus Crews committed 2026-06-05 09:24:42 -05:00
commit 070dc9897e
1 file changed
+5 -1
+5 -1
View File
@@ -975,7 +975,11 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
EDITOR_SETTING(Variant::FLOAT, PROPERTY_HINT_RANGE, "editors/3d/navigation_feel/zoom_inertia", 0.05, "0,1,0.001")
EDITOR_SETTING(Variant::FLOAT, PROPERTY_HINT_RANGE, "editors/3d/navigation_feel/angle_snap_threshold", 10.0, "1,20,0.1,degrees")
_initial_set("editors/3d/navigation/show_viewport_rotation_gizmo", true);
_initial_set("editors/3d/navigation/show_viewport_navigation_gizmo", DisplayServer::get_singleton()->is_touchscreen_available());
bool should_show_viewport_navigation_gizmo = false;
#ifdef ANDROID_ENABLED
should_show_viewport_navigation_gizmo = true;
#endif
_initial_set("editors/3d/navigation/show_viewport_navigation_gizmo", should_show_viewport_navigation_gizmo);
// 3D: Freelook
EDITOR_SETTING_BASIC(Variant::INT, PROPERTY_HINT_ENUM, "editors/3d/freelook/freelook_navigation_scheme", 0, "Default,Partially Axis-Locked (id Tech),Fully Axis-Locked (Minecraft)")