From e0c82913ff39ab036f3c440f9e064f91ed797bc7 Mon Sep 17 00:00:00 2001 From: jfons Date: Tue, 8 Feb 2022 19:24:50 +0100 Subject: Fix navigation in 3D viewport The incorrect initialization of EditData::instant to true was preventing the navigation code to run until the transform gizmo was used. --- editor/plugins/node_3d_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins/node_3d_editor_plugin.cpp') diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index dea637e82e..67079a6965 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -4377,7 +4377,7 @@ Node3DEditorViewport::Node3DEditorViewport(Node3DEditor *p_spatial_editor, Edito _edit.mode = TRANSFORM_NONE; _edit.plane = TRANSFORM_VIEW; _edit.snap = true; - _edit.instant = true; + _edit.instant = false; _edit.gizmo_handle = -1; _edit.gizmo_handle_secondary = false; -- cgit v1.2.3