From 4f96b1bf60119ed50f0439a382a9f85fe1fbf3d8 Mon Sep 17 00:00:00 2001 From: wandererfan Date: Tue, 15 Nov 2022 17:00:01 -0500 Subject: [PATCH] [TD]fix alignment of section line marks on rotated base view --- src/Mod/TechDraw/Gui/QGISectionLine.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Mod/TechDraw/Gui/QGISectionLine.cpp b/src/Mod/TechDraw/Gui/QGISectionLine.cpp index e6dd3ec7626b..27f896a57a39 100644 --- a/src/Mod/TechDraw/Gui/QGISectionLine.cpp +++ b/src/Mod/TechDraw/Gui/QGISectionLine.cpp @@ -347,11 +347,13 @@ void QGISectionLine::makeChangePointMarks() cPointItem->setPen(cPointPen); cPointItem->setZValue(ZVALUE::SECTIONLINE + 1); cPointItem->setPos(0.0, 0.0); + + cPointItem->setRotation(rotation()); + m_changePointMarks.push_back(cPointItem); } } - void QGISectionLine::setEnds(Base::Vector3d l1, Base::Vector3d l2) { m_l1 = l1;