From ed5ec8a7ea43b446c3900f915d9d74c44e73cf3e Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 2 May 2022 13:17:50 +0200 Subject: [PATCH] Gui: [skip ci] a couple of IDEs or editors struggle with the degree symbol in the comment, replace it with 'deg' --- src/Gui/NaviCube.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Gui/NaviCube.cpp b/src/Gui/NaviCube.cpp index 73a780b173..1da96eecb9 100644 --- a/src/Gui/NaviCube.cpp +++ b/src/Gui/NaviCube.cpp @@ -1448,9 +1448,9 @@ bool NaviCubeImplementation::mouseReleased(short x, short y) { case TEX_BOTTOM_LEFT_FRONT: viewRot = setView(rot - 90, 90 + tilt); // we have 3 possible end states: - // - z-axis is not rotated larger than 120 ° from (0, 1, 0) -> we are already there - // - y-axis is not rotated larger than 120 ° from (0, 1, 0) - // - x-axis is not rotated larger than 120 ° from (0, 1, 0) + // - z-axis is not rotated larger than 120 deg from (0, 1, 0) -> we are already there + // - y-axis is not rotated larger than 120 deg from (0, 1, 0) + // - x-axis is not rotated larger than 120 deg from (0, 1, 0) if (toNearest) { if (ViewRotMatrix[1][0] > 0.4823) viewRot = rotateView(viewRot, 0, -120, SbVec3f(1, 1, 1));