Section face positioning/display

This commit is contained in:
WandererFan
2016-03-12 20:35:32 -05:00
committed by wmayer
parent a0117556dc
commit 60acf69557
19 changed files with 553 additions and 345 deletions

View File

@@ -160,12 +160,11 @@ void QGIEdge::setStrokeWidth(float width) {
update();
}
//TODO: obs? we never change an existing edge's visibility.
void QGIEdge::setHiddenEdge(bool b) {
isHiddenEdge = b;
if (b) m_colCurrent = m_colHid;
update();
//TODO: need some fiddling here so hidden edges don't get selected?? is it ok to select a hidden edge?
//wf: probably bad drafing practice to dimension a hidden line
}
void QGIEdge::paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) {