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.
This commit is contained in:
jfons 2022-02-08 19:24:50 +01:00
parent 592e92d938
commit e0c82913ff
1 changed files with 1 additions and 1 deletions

View File

@ -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;