[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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user