Merge pull request #26630 from Xrayez/spatial-mouse-uncapture

Ensure to disable freelook when leaving spatial editor
This commit is contained in:
Rémi Verschelde 2019-03-05 12:17:57 +01:00 committed by GitHub
commit bb8de092a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2108,9 +2108,11 @@ void SpatialEditorViewport::_notification(int p_what) {
set_process(visible);
if (visible)
if (visible) {
_update_camera(0);
} else {
set_freelook_active(false);
}
call_deferred("update_transform_gizmo_view");
}