revert busitem paint
This commit is contained in:
@@ -727,9 +727,7 @@ void BlockBusItem::paint(QPainter * p, const QStyleOptionGraphicsItem * o, QWidg
|
|||||||
p->setPen(_pen);
|
p->setPen(_pen);
|
||||||
p->drawLine(pol[segments[i].first], pol[segments[i].second]);
|
p->drawLine(pol[segments[i].first], pol[segments[i].second]);
|
||||||
if (pointSegmentsCount(segments[i].first) > 2) {
|
if (pointSegmentsCount(segments[i].first) > 2) {
|
||||||
_pen.setWidthF(pen_width + 3.);
|
p->drawEllipse(pol[segments[i].first], pen_width*0.7, pen_width*0.7);
|
||||||
p->setPen(_pen);
|
|
||||||
p->drawPoint(pol[segments[i].first]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
p->setPen(_pen);
|
p->setPen(_pen);
|
||||||
|
|||||||
Reference in New Issue
Block a user