From 1a28c4969a3a98537223ab7c8fcc926eb1830f53 Mon Sep 17 00:00:00 2001 From: donovaly Date: Tue, 30 Mar 2021 04:37:30 +0200 Subject: [PATCH] [Gui] fix a NaviCube Corner fixes a copy/paste issue of commit 7831a218d7 --- src/Gui/NaviCube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/NaviCube.cpp b/src/Gui/NaviCube.cpp index 242e65164d..eb9f927954 100644 --- a/src/Gui/NaviCube.cpp +++ b/src/Gui/NaviCube.cpp @@ -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));