diff --git a/src/Mod/TechDraw/Gui/QGIViewSection.cpp b/src/Mod/TechDraw/Gui/QGIViewSection.cpp index c3f17d0ee1..352d0f3814 100644 --- a/src/Mod/TechDraw/Gui/QGIViewSection.cpp +++ b/src/Mod/TechDraw/Gui/QGIViewSection.cpp @@ -80,6 +80,9 @@ void QGIViewSection::drawSectionFace() return; } + float lineWidth = sectionVp->LineWidth.getValue(); + + auto sectionFaces( section->getFaceGeometry() ); if (sectionFaces.empty()) { //Base::Console().Log("INFO - QGIViewSection::drawSectionFace - No sectionFaces available. Check Section plane.\n"); @@ -94,6 +97,8 @@ void QGIViewSection::drawSectionFace() newFace->setZValue(ZVALUE::SECTIONFACE); if (section->showSectionEdges()) { newFace->setDrawEdges(true); + newFace->setStyle(Qt::SolidLine); + newFace->setWidth(lineWidth); } else { newFace->setDrawEdges(false); } diff --git a/src/Mod/TechDraw/Gui/ZVALUE.h b/src/Mod/TechDraw/Gui/ZVALUE.h index d4d85ab1fd..ef968c61b8 100644 --- a/src/Mod/TechDraw/Gui/ZVALUE.h +++ b/src/Mod/TechDraw/Gui/ZVALUE.h @@ -8,10 +8,10 @@ namespace ZVALUE { const int FACE = 10; const int HATCH = 30; const int HIDEDGE = 40; + const int SECTIONFACE = 45; + const int SECTIONHATCH = 46; const int EDGE = 50; const int VERTEX = 60; - const int SECTIONFACE = 65; - const int SECTIONHATCH = 66; const int DIMENSION = 110; const int SECTIONLINE = 80; //TODO: change to "DECORATION"? section lines, symmetry lines, etc? const int HIGHLIGHT = 80;