Skip to content
Permalink
Browse files

change for z for page up/down

  • Loading branch information
NEDJIMAbelgacem authored and nyalldawson committed Jan 13, 2021
1 parent b3d2059 commit 36e3229f52e9b95b6a482c3b2f7e22bd4d5fe4d0
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/3d/qgscameracontroller.cpp
@@ -520,11 +520,11 @@ void QgsCameraController::onKeyPressedFlyNavigation( Qt3DInput::QKeyEvent *event

case Qt::Key_PageUp:
case Qt::Key_Q:
cameraPosDiff = mCameraMovementSpeed * cameraUp;
cameraPosDiff = mCameraMovementSpeed * QVector3D( 0.0f, 1.0f, 0.0f );
break;
case Qt::Key_PageDown:
case Qt::Key_E:
cameraPosDiff = - mCameraMovementSpeed * cameraUp;
cameraPosDiff = - mCameraMovementSpeed * QVector3D( 0.0f, 1.0f, 0.0f );
break;
}

0 comments on commit 36e3229

Please sign in to comment.
You can’t perform that action at this time.