Skip to content

Commit

Permalink
Merge pull request #1439 from zenustech/disable_shift_change_fov
Browse files Browse the repository at this point in the history
disable_shift_change_fov
  • Loading branch information
legobadman authored Sep 27, 2023
2 parents 87ac603 + 618b9f1 commit da20ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/zenoedit/viewport/cameracontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ void CameraControl::fakeWheelEvent(QWheelEvent *event) {
ZenoSettingsManager& settings = ZenoSettingsManager::GetInstance();
int scaleKey = settings.getViewShortCut(ShortCut_ScalingView, button);
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;
Expand Down

0 comments on commit da20ba9

Please sign in to comment.