Skip to content

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

Closed
mmosca wants to merge 7 commits intomasterfrom
mmosca-skipped-osd-elements
Closed

Fix for some OSD elements being skipped if GPS is disabled.#9228
mmosca wants to merge 7 commits intomasterfrom
mmosca-skipped-osd-elements

Conversation

@mmosca
Copy link
Collaborator

@mmosca mmosca commented Aug 7, 2023

Fixes #9225

mmosca added 7 commits July 27, 2023 15:44
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