[Gui] fix a NaviCube Corner

fixes a copy/paste issue of commit 7831a218d7
This commit is contained in:
donovaly
2021-03-30 04:37:30 +02:00
committed by wwmayer
parent 2887eadea7
commit 1a28c4969a

View File

@@ -1557,7 +1557,7 @@ bool NaviCubeImplementation::mouseReleased(short x, short y) {
}
break;
case TEX_BOTTOM_REAR_LEFT:
setView(270 + rot - 90, 90 + tilt);
viewRot = setView(270 + rot - 90, 90 + tilt);
if (toNearest) {
if (ViewRotMatrix[1][0] > 0.4823)
viewRot = rotateView(viewRot, 0, 120, SbVec3f(1, -1, 1));