[TD] add property for section line style

see https://forum.freecadweb.org/viewtopic.php?f=35&t=44320
This commit is contained in:
donovaly
2020-03-21 02:28:03 +01:00
committed by WandererFan
parent 6fa80d8cbf
commit c77b63d2bd
5 changed files with 23 additions and 0 deletions

View File

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