Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for some OSD elements being skipped if GPS is disabled. #9228

Closed
wants to merge 7 commits into from

Conversation

mmosca
Copy link
Collaborator

@mmosca mmosca commented Aug 7, 2023

Fixes #9225

Break up hud elements as individual OSD elements to allow
different layouts to show/hide those elements.
Previous number was 4(hud_radar_disp max)  + 1
Now it is 6 + 1.
Still depend on the crosshair, but should be clearer.

Needs testing
This lets the OSD element visibility be the only setting that controls
the visibility of these elements in the HUD
I saw some strange artifacts, reverting to old style display for now.
When adding new elements, we probably forgot to update the logic that
increments the element index in the osd rendering code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some OSD elements are not drawn when GPS is disabled.
1 participant