Show full width Edges around Section Face
- Section Face was hidding 1/2 of Edge if "Show Section Edges" was set to false.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user