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:
parent
592e92d938
commit
e0c82913ff
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue