From 4bade5d96bcb144408322c0093375bf571f14d16 Mon Sep 17 00:00:00 2001 From: Uwe Date: Fri, 11 Nov 2022 04:15:48 +0100 Subject: [PATCH] [Gui] NaviCube: fix rotation to backside - when pressing the "dot" besides the NaviCube, the rotation to the backside was not in the center thus the view jumped --- 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 99433ee876..ef7b19db5d 100644 --- a/src/Gui/NaviCube.cpp +++ b/src/Gui/NaviCube.cpp @@ -1619,7 +1619,7 @@ bool NaviCubeImplementation::mouseReleased(short x, short y) { viewRot = rotateView(viewRot, DIR_RIGHT, rotStepAngle); break; case TEX_DOT_BACKSIDE: - viewRot = rotateView(viewRot, 0, 180); + viewRot = rotateView(viewRot, DIR_UP, 180); break; case TEX_VIEW_MENU_FACE: handleMenu();