wip
This commit is contained in:
@@ -896,8 +896,8 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
|
||||
path_gradient.setColorAt(1.0, QColor(center_lane_color.red(), center_lane_color.green(), center_lane_color.blue(), static_cast<int>(CENTER_LANE_ALPHA * 255 * 0.0)));
|
||||
}
|
||||
|
||||
// painter.setBrush(path_gradient);
|
||||
// painter.drawPolygon(scene.track_vertices);
|
||||
painter.setBrush(path_gradient);
|
||||
painter.drawPolygon(scene.track_vertices);
|
||||
|
||||
// Paint path edges
|
||||
// don't paint if not engaged color
|
||||
@@ -916,8 +916,8 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
|
||||
path.addPolygon(scene.track_vertices);
|
||||
path.addPolygon(scene.track_edge_vertices);
|
||||
|
||||
painter.setBrush(path_gradient);
|
||||
// painter.setBrush(edge_gradient);
|
||||
// painter.setBrush(path_gradient);
|
||||
painter.setBrush(edge_gradient);
|
||||
painter.drawPath(path);
|
||||
// }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user