[TD]SectionLine colour property

This commit is contained in:
wandererfan
2020-03-25 09:20:52 -04:00
committed by WandererFan
parent 871a2732e4
commit 14e6b19e75
5 changed files with 42 additions and 18 deletions

View File

@@ -848,6 +848,7 @@ void QGIViewPart::drawSectionLine(TechDraw::DrawViewSection* viewSection, bool b
addToGroup(sectionLine);
sectionLine->setSymbol(const_cast<char*>(viewSection->SectionSymbol.getValue()));
sectionLine->setSectionStyle(vp->SectionLineStyle.getValue());
sectionLine->setSectionColor(vp->SectionLineColor.getValue().asValue<QColor>());
//TODO: handle oblique section lines?
//find smallest internal angle(normalDir,get?Dir()) and use -1*get?Dir() +/- angle