From 83fd5ba1d6225337c4ae3762f511a5b4f83bd35b Mon Sep 17 00:00:00 2001 From: Ronny Standtke Date: Sat, 22 Apr 2023 15:54:10 +0200 Subject: [PATCH] changed Z-axis rotation so that it is readable by default --- src/App/Origin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Origin.cpp b/src/App/Origin.cpp index f276bfb38b..e0de6dc31d 100644 --- a/src/App/Origin.cpp +++ b/src/App/Origin.cpp @@ -139,7 +139,7 @@ void Origin::setupObject () { } setupData [] = { {App::Line::getClassTypeId(), AxisRoles[0], tr("X-axis"), Base::Rotation()}, {App::Line::getClassTypeId(), AxisRoles[1], tr("Y-axis"), Base::Rotation(Base::Vector3d(1,1,1), M_PI*2/3)}, - {App::Line::getClassTypeId(), AxisRoles[2], tr("Z-axis"), Base::Rotation(Base::Vector3d(1,1,1), M_PI*4/3)}, + {App::Line::getClassTypeId(), AxisRoles[2], tr("Z-axis"), Base::Rotation(Base::Vector3d(1,-1,1), M_PI*2/3)}, {App::Plane::getClassTypeId(), PlaneRoles[0], tr("XY-plane"), Base::Rotation()}, {App::Plane::getClassTypeId(), PlaneRoles[1], tr("XZ-plane"), Base::Rotation(1.0, 0.0, 0.0, 1.0 )}, {App::Plane::getClassTypeId(), PlaneRoles[2], tr("YZ-plane"), Base::Rotation(Base::Vector3d(1,1,1), M_PI*2/3)}