From 618b9f16ce593e4e44c77acd6cd5d9a0fdb0a471 Mon Sep 17 00:00:00 2001 From: zhouhang95 <765229842@qq.com> Date: Fri, 22 Sep 2023 13:50:21 +0800 Subject: [PATCH] disable_shift_change_fov --- ui/zenoedit/viewport/cameracontrol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/zenoedit/viewport/cameracontrol.cpp b/ui/zenoedit/viewport/cameracontrol.cpp index 4a47b46e5f..90e7c7d01f 100644 --- a/ui/zenoedit/viewport/cameracontrol.cpp +++ b/ui/zenoedit/viewport/cameracontrol.cpp @@ -344,8 +344,8 @@ void CameraControl::fakeWheelEvent(QWheelEvent *event) { (event->modifiers() & Qt::ControlModifier) && (event->modifiers() & Qt::ShiftModifier); float delta = dy > 0 ? 1 : -1; if (shift_pressed) { - float temp = getFOV() / scale; - setFOV(temp < 170 ? temp : 170); +// float temp = getFOV() / scale; +// setFOV(temp < 170 ? temp : 170); } else if (aperture_pressed) { float temp = getAperture() + delta * 0.01;