mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 15:32:07 +08:00
moved up so it's more clear for other elements (lines, lead etc)
This commit is contained in:
@@ -457,12 +457,13 @@ void AnnotatedCameraWidget::paintGL() {
|
||||
|
||||
if (s->scene.world_objects_visible) {
|
||||
update_model(s, model);
|
||||
drawLaneLines(painter, s);
|
||||
|
||||
#ifdef DP
|
||||
flight_panel->paint(painter, width(), height());
|
||||
#endif
|
||||
|
||||
drawLaneLines(painter, s);
|
||||
|
||||
if (s->scene.longitudinal_control && sm.rcv_frame("radarState") > s->scene.started_frame) {
|
||||
auto radar_state = sm["radarState"].getRadarState();
|
||||
update_leads(s, radar_state, model.getPosition());
|
||||
|
||||
Reference in New Issue
Block a user