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

[NativeMenu] Add checks to avoid unnecessary warnings. #89224

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Mar 6, 2024

Adds few checks missed in #87452, that can cause unnecessary warning messages if native menu is not supported.

Added by @akien-mga: Add dummy NativeMenu to DisplayServerHeadless, fixing crashes when using --headless.

@bruvzg bruvzg added this to the 4.3 milestone Mar 6, 2024
@bruvzg bruvzg requested a review from a team as a code owner March 6, 2024 18:31
@akien-mga
Copy link
Member

I amended a crash fix for running with --headless (specifically testing command line export with godot --headless --export-release "Linux" test/).

Added by Rémi: Add dummy NativeMenu to DisplayServerHeadless,
fixing crashes when using `--headless`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
@bruvzg bruvzg requested a review from a team as a code owner March 6, 2024 23:23
@akien-mga akien-mga merged commit bfdac95 into godotengine:master Mar 6, 2024
15 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants