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

NoiseTexture2D/3D: Don't use a thread to regenerate when the build doesn't support threads #96099

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

NotWearingPants
Copy link
Contributor

@NotWearingPants NotWearingPants commented Aug 26, 2024

Fixes #96098.

Tested locally with v4.3.stable.official [77dcf97d8], the texture resizes slowly but correctly.

@Calinou Calinou added bug platform:web confirmed cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Aug 26, 2024
@Calinou Calinou added this to the 4.4 milestone Aug 26, 2024
@akien-mga akien-mga changed the title NoiseTexture2D: don't use a thread to regenerate when the build doesn't support threads NoiseTexture2D: Don't use a thread to regenerate when the build doesn't support threads Aug 26, 2024
@akien-mga
Copy link
Member

The same changes are needed for NoiseTexture3D, I'll amend the PR.

@akien-mga akien-mga changed the title NoiseTexture2D: Don't use a thread to regenerate when the build doesn't support threads NoiseTexture2D/3D: Don't use a thread to regenerate when the build doesn't support threads Sep 3, 2024
@akien-mga akien-mga merged commit 4d3f1db into godotengine:master Sep 3, 2024
18 checks passed
@akien-mga
Copy link
Member

Cherry-picked for 4.3.1.

@akien-mga akien-mga removed the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Sep 16, 2024
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.

NoiseTexture2D doesn't resize on the Web without threads
4 participants