pull/27391/head
Shane Smiskol 3 years ago
parent 931e95d645
commit af3e4aa700
  1. 4
      selfdrive/ui/qt/onroad.cc

@ -517,7 +517,7 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
}
// paint path
double t = millis_since_boot();
// double t = millis_since_boot();
QLinearGradient bg(0, height(), 0, 0);
if (sm["controlsState"].getControlsState().getExperimentalMode()) {
@ -556,7 +556,7 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
painter.setBrush(bg);
painter.drawPolygon(scene.track_vertices);
double dt = millis_since_boot() - t;
// double dt = millis_since_boot() - t;
// qDebug() << "Took" << dt << "ms to draw path";
painter.restore();

Loading…
Cancel
Save