Skip to content

Move Web export threads options out of variant mk2 #108172

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

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

adamscott
Copy link
Member

Important

This PR must be merged for 4.5 because otherwise, it will introduce a breaking compatibility issue for exports in 4.6.

Note

Supersedes #107429 (mk1)
The text below is copy/pasted from mk1, because it's the same PR, but using the third property of ExportOption that update visibility.

This PR moves the newly added (by #104458) variant/emscripten_pool_size and variant/godot_pool_size to threads/emscripten_pool_size and threads/godot_pool_size. It also adds the functionality to make the threads option only appear if threads are enabled. (a future PR will hide more data, i.e. PWA options only if it's enabled)

Enregistrement.d.ecran.le.2025-06-11.a.18.26.43.mov

The issue stems of having 2 options prominently featured only for thread builds. This is bad, as most of Godot exports are expected to be single-threaded.

Copy link
Contributor

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I haven't tested this, but the code changes look good to me :-)

@Repiteo Repiteo merged commit 75bcb64 into godotengine:master Jul 9, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jul 9, 2025

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.

3 participants