Skip to content

Fix gr.drawOffscreenIndicator#7295

Open
wookieejedi wants to merge 1 commit intoscp-fs2open:masterfrom
wookieejedi:fix-offscreen-hud-indicator-script
Open

Fix gr.drawOffscreenIndicator#7295
wookieejedi wants to merge 1 commit intoscp-fs2open:masterfrom
wookieejedi:fix-offscreen-hud-indicator-script

Conversation

@wookieejedi
Copy link
Member

The scripted gr.drawOffscreenIndicator was missing a critical resetClip(); which meant it was using whatever the previous stack's clipping distance was, and thus not draw in the actual correct location.

This 1 line PR fixes that and the fix works as intended.

The scripted `gr.drawOffscreenIndicator` was missing a critical `resetClip();` which meant it was using whatever the previous stack's clipping distance was, and thus not draw in the actual correct location.

This 1 line PR fixes that and the fix works as intended.
@wookieejedi wookieejedi added this to the Release 25.0.1 milestone Mar 16, 2026
@wookieejedi wookieejedi added fix A fix for bugs, not-a-bugs, and/or regressions. HUD A feature or issue related to the HUD scripting A feature or issue related to LUA scripting labels Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. HUD A feature or issue related to the HUD scripting A feature or issue related to LUA scripting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant