[TD]add separate property for geom hatch

This commit is contained in:
wandererfan
2020-03-17 19:50:20 -04:00
committed by WandererFan
parent 4bc0718a3b
commit 252293adaf
3 changed files with 15 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ void QGIViewSection::drawSectionFace()
} else if (section->CutSurfaceDisplay.isValue("PatHatch")) {
newFace->isHatched(true);
newFace->setFillMode(QGIFace::GeomHatchFill);
newFace->setHatchColor(sectionVp->HatchColor.getValue());
newFace->setHatchColor(sectionVp->GeomHatchColor.getValue());
newFace->setHatchScale(section->HatchScale.getValue());
newFace->setLineWeight(sectionVp->WeightPattern.getValue());
std::vector<TechDraw::LineSet> lineSets = section->getDrawableLines(i);