Cosmetic CL for Section and Detail
This commit is contained in:
@@ -144,20 +144,22 @@ void QGIViewSection::drawSectionFace()
|
||||
|
||||
void QGIViewSection::updateView(bool update)
|
||||
{
|
||||
Q_UNUSED(update);
|
||||
auto viewPart( dynamic_cast<TechDraw::DrawViewSection *>(getViewObject()) );
|
||||
if( viewPart == nullptr ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(update ||
|
||||
viewPart->SectionNormal.isTouched() ||
|
||||
viewPart->SectionOrigin.isTouched()) {
|
||||
QGIViewPart::updateView(true);
|
||||
drawSectionFace();
|
||||
} else {
|
||||
QGIViewPart::updateView();
|
||||
drawSectionFace();
|
||||
}
|
||||
// if(update ||
|
||||
// viewPart->SectionNormal.isTouched() ||
|
||||
// viewPart->SectionOrigin.isTouched()) {
|
||||
//// QGIViewPart::updateView(true);
|
||||
//// drawSectionFace();
|
||||
// } else {
|
||||
//// QGIViewPart::updateView();
|
||||
//// drawSectionFace();
|
||||
// }
|
||||
draw();
|
||||
}
|
||||
|
||||
void QGIViewSection::drawSectionLine(TechDraw::DrawViewSection* s, bool b)
|
||||
|
||||
Reference in New Issue
Block a user