diff options
author | jfons <joan.fonssanchez@gmail.com> | 2022-02-08 19:24:50 +0100 |
---|---|---|
committer | jfons <joan.fonssanchez@gmail.com> | 2022-02-08 19:24:50 +0100 |
commit | e0c82913ff39ab036f3c440f9e064f91ed797bc7 (patch) | |
tree | 0e840f2a2894db3f14c8e2f76861a0a7a14647d3 /editor/plugins | |
parent | 592e92d938ce4eeb053e208dc673598d9aaa727a (diff) |
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.
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 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; |